summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-25 16:38:14 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-30 21:59:25 +0200
commite5221e217c951815a1be0a70048d4b45d8a69d7d (patch)
tree77f150eaabe359c39b47388d847f5249580b8dbe
parentc5fe029ae2d4c6f34c204bf66f792d0ae7e89ab8 (diff)
downloadfriedrich-e5221e217c951815a1be0a70048d4b45d8a69d7d.tar.gz
add test scenario with sorted card deck
-rw-r--r--rules.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 6518e55..ad784e3 100644
--- a/rules.js
+++ b/rules.js
@@ -10,6 +10,7 @@ const SCENARIO_INDEX = {
"3P": 3,
"The War in the West": 1,
"The Austrian Theatre": 2,
+ "TEST": 4
}
const ROLE_NAME_1 = [
@@ -3623,6 +3624,9 @@ exports.setup = function (seed, scenario, options) {
shuffle_bigint(game.deck)
+ if (scenario === "TEST")
+ game.clock = [ 1,2,3,4,5,6,7,8,9,10,11,12, 13,14,15,16,17,18 ]
+
if (game.scenario === 1)
log("# The War in the West")
if (game.scenario === 2)