diff options
author | Frans Bongers <fransbongers@franss-mbp.home> | 2024-11-25 21:42:51 +0100 |
---|---|---|
committer | Frans Bongers <fransbongers@franss-mbp.home> | 2024-11-25 21:42:51 +0100 |
commit | 9414fe91218a00fe9e44b48fdf40e51de5cb4479 (patch) | |
tree | fb50f3c36d305e332000d9f01c3e6227128151c4 /rules.ts | |
parent | 6d4ac135ddd2a7b4f54a7ce5b909457055597764 (diff) | |
download | land-and-freedom-9414fe91218a00fe9e44b48fdf40e51de5cb4479.tar.gz |
setup fronts and tracks
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -67,9 +67,10 @@ export interface View { victory?: string; location?: string; selected?: string; - + fronts: Game['fronts']; current_events: CardId[]; hand: CardId[]; + tracks: number[]; } // interface State { @@ -160,7 +161,9 @@ function game_view(state: Game, player: Player) { location: game.location, selected: game.selected, current_events: game.current_events, + fronts: game.fronts, hand: game.hands[faction_id], + tracks: game.tracks }; if (player !== game.active) { |