jsrobowar
jsrobowar copied to clipboard
:space_invader: A port of RoboWar to the web browser using JavaScript and HTML5. (2010)
JSRoboWar
To see it in action, go to http://statico.github.io/jsrobowar/.
I wrote JSRoboWar as a programming exercise. I'm not devoting a lot of time to developing it, but feel free to fork it and send me patches.
Code layout:
-
js/jsrobowar.js
-- The core JSRoboWar engine. -
js/gui.js
-- All code used to set upindex.html
. -
js/third-party/base.js
-- A JavaScript object system by John Resig. -
js/third-party/raphael-*.js
-- The Raphaël JavaScript library. -
js/third-party/underscore-*.js
-- The Underscore.js functional helper library. -
index.html
-- The main UI featuring the Arena and robot code editor. -
robots/
-- A selection of robots from the original RoboWar application and Paul Hansen's RoboWar Tutorial. -
sounds/
-- Sounds from the original RoboWar application. -
LICENSE
-- The license for this source code.
I've tried hard to give credit where it's due. Let me know if I've missed something!