summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-11 15:54:56 +0100
committerTor Andersson <tor@ccxvii.net>2023-12-11 20:26:34 +0100
commit66e6dec72f237dcc9fc9b22a2b052f1f80924225 (patch)
treea86083c8f6c6bbd617612f584d01149b3c691b85
parent28f9e4a862ce46d00c00b64164e5e0ea7be3e6b4 (diff)
downloadvotes-for-women-66e6dec72f237dcc9fc9b22a2b052f1f80924225.tar.gz
Strategy Phase: Done -> Commit.
-rw-r--r--play.js1
-rw-r--r--rules.js4
2 files changed, 3 insertions, 2 deletions
diff --git a/play.js b/play.js
index a0faf1d..e2ef808 100644
--- a/play.js
+++ b/play.js
@@ -880,6 +880,7 @@ function on_update() { // eslint-disable-line no-unused-vars
action_button("yellow", "Yellow")
action_button("roll", "Roll")
action_button("reroll", "Re-roll")
+ action_button("commit", "Commit")
action_button("next", "Next")
action_button("end_event", "End Event")
action_button("next_turn", "Next Turn")
diff --git a/rules.js b/rules.js
index 264fd63..26a5e55 100644
--- a/rules.js
+++ b/rules.js
@@ -889,7 +889,7 @@ states.strategy_phase = {
if (game.support_buttons > 0) {
gen_action("commit_1_button")
}
- gen_action("done")
+ gen_action("commit")
} else {
view.prompt = `Strategy: Suffragist committed ${pluralize(game.support_committed, 'button')}.`
view.actions.defer = 0
@@ -915,7 +915,7 @@ states.strategy_phase = {
game.support_committed += 1
},
- done() {
+ commit() {
clear_undo()
log(`Suffragist committed ${game.support_committed} BM`)
game.active = OPP