Skip to content

Instantly share code, notes, and snippets.

View musashix90's full-sized avatar

Michael Tanner musashix90

View GitHub Profile
@musashix90
musashix90 / robot.js
Created December 3, 2012 17:54
better robit
//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;
robot.ahead(90);