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

?

Strength: /10

Armor: /10

Speed: /10

HP: /10

Archer Base Stats

?

Strength: /10

Armor: /10

Speed: /10

HP: /10

Player Units

?

Player1:

Footmen: /15

Archers: /15

Player2:

Footmen: /15

Archers: /15

Runs:
10
100
1,000
10,000

0%

0%