From 128dee0f2025279ad42b3571814094ee2405557f Mon Sep 17 00:00:00 2001 From: iainp5 Date: Mon, 13 Jan 2025 22:56:06 +0000 Subject: Remove debugging steps --- rules.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/rules.js b/rules.js index 995af40..89bb3e1 100644 --- a/rules.js +++ b/rules.js @@ -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) { -- cgit v1.2.3