diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-03-09 12:00:38 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-03-09 12:00:38 +0100 |
commit | 09fded7925fe932927c8308de446e29d03d8eccd (patch) | |
tree | e675fcce3aa2d5c1b99303229b8f296ee0ea1906 /minefield.svg | |
parent | 609a7d051dba455b9f37bc68ab8ab15059f45fa6 (diff) | |
download | rommel-in-the-desert-09fded7925fe932927c8308de446e29d03d8eccd.tar.gz |
Allow backtracking from supply chains!
A supply chain can backtrack over another supply chain.
Example:
Axis Unit A is in supply in Skeleidima.
It can trace supply via Ghemines.
It can also trace supply via Msus/Antelat/Agedabia.
Axis Unit B in Mechili SW can trace a line to A in Skeleidima.
This line overlaps with the Skeleidima/Msus/Antelat line, and our
"don't backtrack" code would either prevent one of these lines from
forming.
Track the "visit depth" instead of a boolean, and increase the
depth every time we start a new supply line. Allow re-visits of a hex
unless it's been visited before during this depth, or unless it is the
head of a supply line.
Diffstat (limited to 'minefield.svg')
0 files changed, 0 insertions, 0 deletions