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.
8 lines • 391 B
JavaScript
import { always, curry } from 'ramda';
import { match } from 'ts-pattern';
import { setFrameToAllowFreeUsage } from '../board/frame';
export const hospice = () => (state) => state && setFrameToAllowFreeUsage(state.buildings)(state);
export const complete = curry((partial, _state) => match(partial)
.with([], always(['']))
.otherwise(always([])));
//# sourceMappingURL=hospice.js.map