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.

3 lines (2 loc) 144 B
import { GameState } from './types'; export declare const reducer: (state: GameState, [command, ...params]: string[]) => GameState | undefined;