From 065ab5e64b856c1e03b965dcfd1d6649259a0bf5 Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Sun, 19 Nov 2023 17:01:54 +0100 Subject: sensible strategy actions when 0 buttons committed --- rules.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rules.js b/rules.js index ab4a56b..b4f6c20 100644 --- a/rules.js +++ b/rules.js @@ -713,8 +713,7 @@ states.strategy_phase = { gen_action("done") } else { view.prompt = `Strategy: Suffragist committed ${pluralize(game.support_committed, 'button')}.` - // TODO sensible actions when 0 buttons committed - gen_action("defer") + view.actions.defer = game.support_committed > 0 view.actions.match = game.opposition_buttons >= game.support_committed view.actions.supersede = game.opposition_buttons > game.support_committed } -- cgit v1.2.3