UNPKG

hathora-et-labora-game

Version:

Plays Uwe Rosenberg's Ora et Labora for the Hathora engine. It reduces a list of moves into a board game state.

5 lines (4 loc) 364 B
import { BuildingEnum, GameCommandBuildParams, GameStatePlaying, StateReducer } from '../types'; export declare const allowPriorToUse: (building: BuildingEnum) => StateReducer; export declare const build: ({ row, col, building }: GameCommandBuildParams) => StateReducer; export declare const complete: (state: GameStatePlaying) => (partial: string[]) => string[];