From 4e738d48f9d49b8de5ab285256f362c7da646901 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 26 Aug 2024 23:05:08 +0200 Subject: Remove obsolete TODO notes. --- rules.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index e6474d9..952a2ba 100644 --- a/rules.js +++ b/rules.js @@ -1,7 +1,5 @@ "use strict" -// TODO: more manual steps (events) - /* DATA */ const data = require("./data.js") @@ -1147,7 +1145,6 @@ function goto_start_year() { log("=t Year " + game.year) // Prisoner exchange - // TODO: manual reinforcements phase? for (let g of BRITISH_GENERALS) if (is_general_at_location(g, CAPTURED_GENERALS)) move_general(g, BRITISH_REINFORCEMENTS) @@ -2902,8 +2899,6 @@ function apply_american_and_french_combat_losses(max) { return n } -// TODO: battle_roll state with pause? - function resolve_battle() { let a_log = [] let b_log = [] @@ -3192,7 +3187,6 @@ function end_battle() { if (game.active === P_BRITAIN && game.congress === game.move.to && count_british_cu(game.move.to) > 0) disperse_continental_congress() - // TODO: lose regulars manual if (game.combat.british_losses >= 3) lose_regular_advantage() @@ -3271,7 +3265,6 @@ states.baron_von_steuben_trains_the_continental_army = { prompt() { view.prompt = "Baron von Steuben: Place 2 CU with Washington." gen_action_general(WASHINGTON) - // TODO: lose regulars manual? }, general(_) { let where = location_of_general(WASHINGTON) @@ -3283,14 +3276,12 @@ states.baron_von_steuben_trains_the_continental_army = { } events.advance_french_alliance = function (card) { - // TODO: advance alliance manual? // game.state = "advance_french_alliance" advance_french_alliance(card.count) end_strategy_card() } events.remove_french_navy = function () { - // TODO: remove french navy manual? // NOTE: Technically it should be game.year but this way we avoid stacking with the turn marker. game.french_navy = game.year + 1 end_strategy_card() @@ -3796,7 +3787,6 @@ states.george_washington_captured_during_move_done = { view.actions.next = 1 }, next() { - // TODO: extra undo step here or not? push_undo() game.state = "ops_general_move" }, -- cgit v1.2.3