Skip to content

Instantly share code, notes, and snippets.

View ymhr's full-sized avatar

James Martin ymhr

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ymhr on github.
  • I am ymhr (https://keybase.io/ymhr) on keybase.
  • I have a public key ASCwI9wwP7YFn-OXB8X8EMn4iDRqIFooI321l_gC4TBHtgo

To claim this, I am signing this object:

@ymhr
ymhr / robot.js
Created December 4, 2012 09:04
YMHR
//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);