From 6310dbf8ea1d74f919881f2e3a71b25a82a6b086 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Thu, 6 Feb 2025 09:32:50 +0000 Subject: Fix result for draws --- rules.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index de49f28..00cbaab 100644 --- a/rules.js +++ b/rules.js @@ -1800,7 +1800,7 @@ states.end_turn_4_5_4 = { } if (dem_has_scoring_card && com_has_scoring_card) { log('Both players have held scoring cards') - goto_game_over('', `The game is tied due to held scoring cards!`) + goto_game_over('Draw', `The game is tied due to held scoring cards!`) } else if (dem_has_scoring_card) { log('Democrat player has a held scoring card') goto_game_over(COM, `${COM} won by held scoring card!`) @@ -1923,7 +1923,7 @@ states.final_scoring = { } else if (game.vp < 0) { goto_game_over(COM, `${COM} wins on Victory Point Track!`) } else if (game.vp === 0) { - goto_game_over('', `The game is tied!`) + goto_game_over('Draw', `The game is tied!`) } }, } @@ -2092,7 +2092,7 @@ states.new_years_eve_party = { } else if (game.vp < 0) { goto_game_over(COM, `New Year's Eve Party: ${COM} wins on Victory Point Track!`) } else if (game.vp === 0) { - goto_game_over('', `New Year's Eve Party: The game is tied!`) + goto_game_over('Draw', `New Year's Eve Party: The game is tied!`) } }, end() { @@ -2101,7 +2101,7 @@ states.new_years_eve_party = { } else if (game.vp < 0) { goto_game_over(COM, `New Year's Eve Party: ${COM} wins on Victory Point Track!`) } else if (game.vp === 0) { - goto_game_over('', `New Year's Eve Party: The game is tied!`) + goto_game_over('Draw', `New Year's Eve Party: The game is tied!`) } }, } -- cgit v1.2.3