I hereby claim:
- I am 1000i100 on github.
- I am 1000i100 (https://keybase.io/1000i100) on keybase.
- I have a public key ASB6I_LOkXz_AhSMEO4S4S-yv_jDMj3sRZSfdKHWc9wmwAo
To claim this, I am signing this object:
var robots = new Array(); | |
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.start = function( ev ){ |
var robots = new Array(); | |
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.start = function( ev ){ |
// helpers | |
function areEnemies(robot, sighted) { | |
var sightedIsChild = (robot.id == sighted.parentId); | |
var sightedIsParent = (robot.parentId == sighted.id); | |
return !(sightedIsChild || sightedIsParent); | |
}; | |
function baseStep(robot) { |
I hereby claim:
To claim this, I am signing this object: