Last week, I attended a local JavaScript Meetup group. This was a hands on workshop where we built simple circuits with Ardruino powered by Node.js and the Johnny-Five library. Using only several lines of code, its quite easy to control LED lights, read button presses and drive servo motors.
If you are interested in building your own system, you can follow the presentation here. Now, if we could actually build robots that could battle each other.