The purpose of the simulator is to calculate outcome of the fight between selected two Age of Empires 2 units based
on their stats - Armor class, Attack, Armor, Bonus attack, Firing rate, HP and Accuracy.
The simulator also calculates cost efficiency of the fight. The cost efficiency ratio of unit A vs B is calculated as follows:
RatioAvB = ( DpsA / ( CostA / HPA ) ) / ( DpsB / ( CostB / HPB ))
DpsA - damage per second which is dealt by unit A to unit B
HPA - hit points of the unit A
CostA - sum of resources which A unit costs
The calculated result of the fight will of course not always match the result in game as it does not take into account micro (which can make all the difference in certain match-ups) and upgrades/civ bonuses. Nevertheless I hope this tool can be useful to get at least some idea about the chances and cost efficiency and to help players identify proper counter units more easily in the still growing complexity of Age of Empires 2.