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 • 433 B
JavaScript
export const removeHomelandForestMoor = (player) => {
const landscape = [
[
...player.landscape[0].slice(0, 2),
[player.landscape[0][2][0]],
[player.landscape[0][3][0]],
...player.landscape[0].slice(4),
],
player.landscape[1],
];
return Object.assign(Object.assign({}, player), { landscape });
};
//# sourceMappingURL=removeHomelandForestMoor.js.map