Axis and Allies Calculator banner

Axis and Allies Calculator

1 devlog
6h 48m 8s

Developing an optimized battle calculator for the game Axis and Allies. I will later use this to determine a simple formula for calculating battle odds

This project uses AI

I used AI for creating docstrings and for some debugging

GoldenElf

Added this calculator as a Flavortown project
Previous work done (before this was added):
Made a battle calculator for Axis and Allies 1941.
Fixed error where margin of error was incorrect
Fixed error where order of loss (OOL) was incorrect/suboptimal
Added naval battles

Work done:
Fixed submarines attacking with surprise strike and then again in normal combat
Created unit tests to make sure that my optimizations didn’t impact the calculator
Optimized battle simulations by changing the underlying data structure (now ~10x faster)

Attachment
Attachment
0