UNPKG

hathora-et-labora-game

Version:

Game logic reducer for Uwe Rosenberg's Ora et Labora

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