Skip to content

Instantly share code, notes, and snippets.

@djcornell
djcornell / robot.js
Created December 8, 2012 03:58
BoogerBot
//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;