summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 429a919..0491dbb 100644
--- a/rules.js
+++ b/rules.js
@@ -1,5 +1,7 @@
"use strict"
+// TODO: select hexside for engaging
+
// TODO: fortress supply
// TODO: fortress battles mandatory combat!
// TODO: legal pass withdrawal moves
@@ -1978,6 +1980,8 @@ function move_unit(who, to, speed) {
// === RETREAT ===
+// TODO: check each unit separately to deal with fortress supply
+
function can_disengage_and_withdraw(from, sline, sdist) {
let result = false
for_each_adjacent_hex(from, to => {