diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-30 13:54:11 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-30 13:54:11 +0100 |
commit | 4d406adeac2e3a4d70fca74771f200f851fd400d (patch) | |
tree | e6e7d6d62a331657650b3f02f36da7a4e5a45403 | |
parent | 7dcdc22eb541b90376897170a051ea20df5a46a9 (diff) | |
download | 1989-dawn-of-freedom-4d406adeac2e3a4d70fca74771f200f851fd400d.tar.gz |
Debugging scoring
-rw-r--r-- | rules.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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`)
|