summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 55cd221..9672559 100644
--- a/rules.js
+++ b/rules.js
@@ -1034,9 +1034,11 @@ exports.setup = function (seed, scenario, options) {
discard: 0,
red_hand: [ 34 ],
+ red_final: [],
red_objective: 0,
blue_hand: [ 17 ],
+ blue_final: [],
blue_objective: 0,
presence: 0,
@@ -1146,15 +1148,18 @@ exports.view = function(state, player) {
discard: game.discard,
hand: 0,
+ final: 0,
objective: 0
}
if (player === COMMUNE) {
view.hand = game.red_hand
+ view.final = game.red_final
view.objective = game.red_objective
}
if (player === VERSAILLES) {
view.hand = game.blue_hand
+ view.final = game.blue_final
view.objective = game.blue_objective
}