To see it in action, go to http://statico.github.com/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.
js/jsrobowar.js-- The core JSRoboWar engine.
js/gui.js-- All code used to set up
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.