From 4d406adeac2e3a4d70fca74771f200f851fd400d Mon Sep 17 00:00:00 2001 From: iainp5 Date: Mon, 30 Sep 2024 13:54:11 +0100 Subject: Debugging scoring --- rules.js | 1 + 1 file changed, 1 insertion(+) 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`) -- cgit v1.2.3