diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-13 22:56:06 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-13 22:56:06 +0000 |
commit | 128dee0f2025279ad42b3571814094ee2405557f (patch) | |
tree | 8976d55a52073492b88d4b6a649f40c2780aaafb /rules.js | |
parent | f03c54096910c03e441ea3676f223bdabef753cc (diff) | |
download | 1989-dawn-of-freedom-128dee0f2025279ad42b3571814094ee2405557f.tar.gz |
Remove debugging steps
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -2929,12 +2929,12 @@ function score_country(country) { com_vp -= (value_control + presence.com_battlegrounds) } else if (presence.com_domination) { - logi(`Domination. ${pluralize(presence.com_battlegrounds,' battleground')}`) + logi(`Domination, ${pluralize(presence.com_battlegrounds,' battleground')}`) com_vp -= (value_domination + presence.com_battlegrounds) } else if (presence.com_spaces) { if (presence.com_battlegrounds > 0) { - logi(`Presence. ${pluralize(presence.com_battlegrounds,' battleground')}`) + logi(`Presence, ${pluralize(presence.com_battlegrounds,' battleground')}`) com_vp -= (value_presence + presence.com_battlegrounds) } else { logi(`Presence`) @@ -3630,12 +3630,6 @@ function end_round() { // Check for duplicate card entries let card_check - console.log('game.strategy_deck', game.strategy_deck) - console.log('game.strategy_discard', game.strategy_discard) - console.log('game.strategy_removed', game.strategy_removed) - console.log('game.persistent_events', game.persistent_events) - console.log('game.communist_hand', game.communist_hand) - console.log('game.democrat_hand', game.democrat_hand) if (game.samizdat_card > 0) { card_check = [...game.strategy_deck, ...game.strategy_discard, ...game.strategy_removed, ...game.persistent_events, ...game.communist_hand, ... game.democrat_hand, game.samizdat_card] } else { @@ -3660,8 +3654,6 @@ function end_round() { } } else if (game.turn <= 7) { if (card_check.length !== 81) { - console.log('card_check.length', card_check.length) - console.log('cards in game', card_check ) throw new Error(`Wrong number of cards: ${card_check.length}`) } } else if (card_check.length !== 110) { |