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.
13 lines • 427 B
JavaScript
import { always, curry } from 'ramda';
import { match } from 'ts-pattern';
import { getCost, withActivePlayer } from '../board/player';
export const harborPromenade = () => withActivePlayer(getCost({
wood: 1,
wine: 1,
penny: 1,
ceramic: 1,
}));
export const complete = curry((partial, _state) => match(partial)
.with([], always(['']))
.otherwise(always([])));
//# sourceMappingURL=harborPromenade.js.map