Combat Simulator Released!
I'm looking for a host. But I can also email it to you if you are interested. To run the simulator, you must hava Java installed.
To run it, unzip it to some directory. From a command prompt, type:
java Fight Unit_1 Unit_2 numberfights
For example:
java Fight Assassin Light_Infantry_1 10000
...would fight an assassin and light infantry (the 5-resource one, with no javelin) 1-on-1 until the battle had been resolved, 10000 times. Then it displays the win percentage for the left unit (the Assassin).
The list of valid units is contained in "UnitTypes.txt". Feel free to add your own, using whatever base creatures, armor, and weapons you want!
-Cherry
Examples:
C:\Projects\Java\Dominions>java Fight Assassin Ulm_Pikeneer_1 200000
'Assassin' versus 'Ulm Pikeneer 1' in 200000 bouts.
Attacker's score: 547 - approximately 54.7% wins.
Attacker's score: 512 - approximately 51.2% wins.
C:\Projects\Java\Dominions>java Fight Assassin Militia 2000000
'Assassin' versus 'Militia' in 2000000 bouts.
Attacker's score: 966 - approximately 96.6% wins.
Attacker's score: 900 - approximately 90.0% wins.
[ December 16, 2003, 03:29: Message edited by: Saber Cherry ]
|