From de18086709f3e19e7bab269d3fecb74ca47cb4b8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 5 Jun 2024 23:19:25 +0200 Subject: reveal troops and hands at game over --- rules.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules.js b/rules.js index 29f277d..087d370 100644 --- a/rules.js +++ b/rules.js @@ -4519,6 +4519,8 @@ exports.view = function (state, player) { if (game.state === "game_over") { view.prompt = game.victory + view.troops = game.troops + view.hand = game.hand } else if (game.active !== player) { let inactive = states[game.state].inactive || game.state if (typeof inactive === "function") -- cgit v1.2.3