I’ve also been working on a calculator based on math.
Here’s a link: https://mshih01.github.io/aacalc2/
It has most of the features of aa1942calc.com… multiwave support, rounds of battle, amphibious assault. (the missing feature is the monte carlo analysis to support extra large battles )
It also has advanced retreat options…
number of rounds.
number of attacking units <=
expected profit continuing < threshold
probability of winning < threshold
probability of losing air > threshold.
probability of killing defenders > threshold (strafe analysis).
The territory can also be marked as deadzone in the profit computation – in which case attacking captured land units count inf(-2), art(-3), arm(-4.5) towards the profit computation.
I think it’s even faster than your implementation. If you like, we can discuss implementation details.





