Skip to content

Instantly share code, notes, and snippets.

Avatar

Darek orcwarrior

View GitHub Profile
View robot.js
//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(30);
You can’t perform that action at this time.