summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js12
1 files 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) {