From 3096093ea5632a6405c1368b7cd64316d8695502 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 7 Nov 2023 19:33:27 +0100 Subject: Add TODO items about possible future streamlining. --- rules.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index b6b87b4..4b1a182 100644 --- a/rules.js +++ b/rules.js @@ -1369,6 +1369,7 @@ states.ira_deorum = { // CRISIS: PAX DEORUM // TODO: Skip players if game end has triggered. +// TODO: except emperor and ludi saecularis remains function goto_pax_deorum() { game.count = game.current @@ -1384,6 +1385,7 @@ function resume_pax_deorum() { if (game.draw[game.current].length > 0) game.state = "pax_deorum" else + // TODO: skip state? game.state = "pax_deorum_done" } @@ -1869,7 +1871,6 @@ states.take_actions = { let where = UNAVAILABLE - // TODO - play all or not? if (game.selected_governor < 0 && game.selected_general < 0 && game.selected_militia < 0 && hand.length > 0) view.actions.play_all = 1 @@ -3643,6 +3644,7 @@ states.frumentarii = { let draw = current_draw() for (let c of draw) gen_action_card(c) + // TODO: skip if not enough cards }, card(c) { push_undo() @@ -3728,6 +3730,8 @@ function play_triumph() { // CARD: Demagogue +// TODO: skip players who have no turn left (auto-select worst card?) + function can_play_demagogue() { return !used_card_event(CARD_P4X) } @@ -3791,6 +3795,7 @@ function goto_demagogue_reveal() { if (p !== game.current) { let c = game.demagogue[p] log(PLAYER_NAME[p] + " revealed " + card_name(c) + ".") + // TODO: skip players who reveal a 1 but govern no provinces if (card_value(c) === 1) mobs = true else -- cgit v1.2.3