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:
I hereby claim:
To claim this, I am signing this object:
//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); |