summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-30 13:54:11 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-30 13:54:11 +0100
commit4d406adeac2e3a4d70fca74771f200f851fd400d (patch)
treee6e7d6d62a331657650b3f02f36da7a4e5a45403
parent7dcdc22eb541b90376897170a051ea20df5a46a9 (diff)
download1989-dawn-of-freedom-4d406adeac2e3a4d70fca74771f200f851fd400d.tar.gz
Debugging scoring
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 82f82b0..5aa5f58 100644
--- a/rules.js
+++ b/rules.js
@@ -1714,6 +1714,7 @@ states.final_scoring_held = {
gen_action('bonus')
},
bonus() {
+ console.log('game.revolutions: ', game.revolutions)
const held_countries = game.revolutions.filter(value => value === false).length
let vp_gain = 4*held_countries
log(`Communist holds ${held_countries} countries: gains ${vp_gain} VP`)