MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • # 474
    govebot
    created 05/12/17 18 code lines fight fork
    1508 SCORE
    2 KILLS
    15 SHOTS
    11 HITS
    68.75%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    //FightCode can only understand your robot //if its class is called Robot function Robot(robot) { }; Robot.prototype.onIdle = function(ev) { var robot = ev.robot; robot.ahead(100); robot.rotateCannon(180); robot.back(100); }; Robot.prototype.onScannedRobot = function(ev) { var robot = ev.robot; robot.fire(100); };