summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-05-14 11:34:39 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:31:29 +0100
commitfc9ca66f2a79ea68047a0ab07296039fc99910a1 (patch)
treedb4f92b981e9933672b528b742a4659956dc9071
parent1f25e69fe9e8072892c03997607e7c6c88757ff0 (diff)
downloadpax-pamir-fc9ca66f2a79ea68047a0ab07296039fc99910a1.tar.gz
Open hands option.
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index a80ae27..e159ecd 100644
--- a/rules.js
+++ b/rules.js
@@ -2938,6 +2938,7 @@ exports.setup = function (seed, scenario, options) {
game = {
seed: seed,
+ open: options.open_hands ? 1 : 0,
active: 0,
state: "none",
@@ -3044,6 +3045,7 @@ exports.view = function(state, current) {
market_coins: game.market_coins,
players: game.players,
selected: game.selected,
+ open: game.open,
};
if (game.state === 'game_over') {