Battlefield simulator v1.0, tested with: Node.js v6.10.0 (ECMA Script 6)
# clone it:
git clone https://github.com/nidzola/battlefield-simulator.git
cd battlefield-simulator
# run it:
node battle.js
# or run it with params:
node battle.js armies=2 squads_per_army=2 units_per_squad=5
To change settings, you can update config.js file located in root of the project
Contributions welcome; Please submit all pull requests against the master branch. Please check the Contributing Guidelines for more details. Thanks!
Nikola Zivkovic [email protected] http://github.com/nidzola