I am making an armies fighting simulator with HMTL5 canvas. You can see it here: http://armyfight.com/simulator.html . Wait until it loads and click blue button "attack!". After fight is over (or anytime), you can proceed it with blue button "Add army", add more units, and start fight again. There are more settings, to change units, their stats, positions, army size.
So far i have only a swordsman unit made.