This is a GUI for a battle simulator I built for QRL, a text-based multiplayer game I'm working on. This algorithm resolves battles between two players, each with multiple units. The simulator can also iterate through multiple runs to determine the probability of each player winning with their current units.
Unit Base Stats
Footman Base Stats
Archer Base Stats
Player Units