From 05e572f50fec17c9c0491b272c2587a859d58338 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 16 Jul 2023 19:44:34 +0200 Subject: Prompt at end. --- rules.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index b22478a..fdf85cf 100644 --- a/rules.js +++ b/rules.js @@ -12,7 +12,7 @@ exports.scenarios = [ "Standard" ] exports.roles = [ RED, BLUE ] const SECRECY_PER_ROW = [ 1, 2, 2, 3, 0 ] -const GOLD_PER_ROW = [ 3, 3, 2, 1, 1 ] +const GOLD_PER_ROW = [ 3, 3, 2, 1, 1, 1, 1, 1, 1, 1 ] const TOKEN_DRAGON = 0 const TOKEN_RED_1 = 1 @@ -472,7 +472,7 @@ states.move_token_to = { else log(".b " + space_name(to)) - log("From " + space_name(game.from) + ".") + //log("From " + space_name(game.from) + ".") // Move the token. game.tokens[game.selected_token] = to @@ -1069,6 +1069,7 @@ function goto_end_of_the_contest() { } states.end_of_the_contest_jewels = { + inactive: "End of the Contest", prompt() { prompt_score("End of the Contest", calc_jewel_score(own_court()), " for Jewels.") gen_action_score() @@ -1080,6 +1081,7 @@ states.end_of_the_contest_jewels = { } states.end_of_the_contest_jewels_rival = { + inactive: "End of the Contest", prompt() { prompt_score("End of the Contest", calc_jewel_score(rival_court()), " to your rival for Jewels.") gen_action_score_rival() @@ -1091,6 +1093,7 @@ states.end_of_the_contest_jewels_rival = { } states.end_of_the_contest_gold = { + inactive: "End of the Contest", prompt() { prompt_score("End of the Contest", calc_gold_score(own_score(), own_court()), " for Gold.") gen_action_score() @@ -1102,6 +1105,7 @@ states.end_of_the_contest_gold = { } states.end_of_the_contest_gold_rival = { + inactive: "End of the Contest", prompt() { prompt_score("End of the Contest", calc_gold_score(rival_score(), rival_court()), " to your rival for Gold.") gen_action_score_rival() -- cgit v1.2.3