summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-08-26 23:05:08 +0200
committerTor Andersson <tor@ccxvii.net>2024-08-26 23:05:08 +0200
commit4e738d48f9d49b8de5ab285256f362c7da646901 (patch)
tree5f691342acbb9cf2c165c177414358581c2b7484
parent9e0dfc5388ee3b8b7168706a806f0a9b3cd89b08 (diff)
downloadwashingtons-war-4e738d48f9d49b8de5ab285256f362c7da646901.tar.gz
Remove obsolete TODO notes.
-rw-r--r--rules.js10
1 files changed, 0 insertions, 10 deletions
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"
},