diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-02-28 00:16:57 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-02-28 00:16:57 +0100 |
commit | dfac77d2135ef7084852860d995113cc8709a233 (patch) | |
tree | dc9d21a1b71387f25e34e9f01981d197864f4442 /rules.js | |
parent | 27872e4dc0bd20451d502be58cbed91aca7339a6 (diff) | |
download | land-and-freedom-dfac77d2135ef7084852860d995113cc8709a233.tar.gz |
client wip
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -343,30 +343,19 @@ function game_view(state, current) { const faction = current === OBSERVER ? null : player_faction_map[current]; view = { active: game.active, - engine: game.engine, log: game.log, prompt: null, - state: game.state, - bag_of_glory: game.bag_of_glory, bag_of_glory_count: game.bag_of_glory.length, bonuses: game.bonuses, - current, - current_player_faction: faction, current_events: game.current_events, first_player: game.first_player, fronts: game.fronts, glory: game.glory, hand: faction === null ? [] : game.hands[faction], - discard: faction === null ? [] : game.discard[faction], - trash: faction === null ? [] : game.trash[faction], - deck: faction === null ? [] : list_deck(faction), hero_points: game.hero_points, initiative: game.initiative, medallions: game.medallions, played_card: game.played_card, - player_order: current === OBSERVER - ? game.player_order - : get_player_order_in_game(faction).map((id) => faction_player_map[id]), selectable_cards: game.selectable_cards, selected_cards: current === OBSERVER ? [] : game.selected_cards[faction], tableaus: game.tableaus, |