Skip to content

Instantly share code, notes, and snippets.

@pveras
pveras / robot.js
Created December 2, 2012 20:41
ASIMO
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;