diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-11-07 19:33:27 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-11-07 19:33:27 +0100 |
commit | 3096093ea5632a6405c1368b7cd64316d8695502 (patch) | |
tree | cbcab7651c5cbda9f330ab49d6a0aba17445a4e7 /rules.js | |
parent | b7a05669720e3a7cec93f958897f113ee2e642ae (diff) | |
download | time-of-crisis-3096093ea5632a6405c1368b7cd64316d8695502.tar.gz |
Add TODO items about possible future streamlining.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |