summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-07-26 19:48:14 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:26 +0100
commitf66b1d52e6996f76133f2c7ef2be292fe514442b (patch)
tree2c7cb1a920e38b7bd74e22dd2c7af5c164bda9bb /rules.js
parentdca39384cf3461a8db7bf3ae9f21a58a761064b1 (diff)
downloadrommel-in-the-desert-f66b1d52e6996f76133f2c7ef2be292fe514442b.tar.gz
update todo
Diffstat (limited to 'rules.js')
-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 => {