Skip to content

Instantly share code, notes, and snippets.

View pjar's full-sized avatar

Jarek Plonski pjar

View GitHub Profile
@pjar
pjar / robot.js
Created December 4, 2012 21:13
cool
//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(100);