I hereby claim:
- I am fwitzke on github.
- I am fwitzke (https://keybase.io/fwitzke) on keybase.
- I have a public key whose fingerprint is FDDB 5218 7B47 4CD0 F38D C781 FA85 1B81 39BD DAEB
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){ | |
}; | |
rotated = false; | |
Robot.prototype.onIdle = function(ev) { |
var Robot = function(robot) { | |
robot.clone(); | |
}; | |
var scanning=true; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(3); | |
if(scanning) { |
//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); |
var Robot = function(robot) { | |
robot.rotateCannon(-90); | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(); | |
}; | |
function isClone(robot1, robot2) { |