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.

4 lines (3 loc) 309 B
import { GameStatePlaying, GameCommandBuyPlotParams } from '../types'; export declare const buyPlot: ({ side, y }: GameCommandBuyPlotParams) => (state?: GameStatePlaying | undefined) => GameStatePlaying | undefined; export declare const complete: (state: GameStatePlaying) => (partial: string[]) => string[];