MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • # 23591
    Mike
    created 02/07/17 20 code lines fight fork
    1484 SCORE
    1 KILLS
    25 SHOTS
    19 HITS
    73.08%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    //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(9999999999999); robot.rotateCannon(0); robot.back(0); robot.rotateCannon(999999999999999); }; Robot.prototype.onScannedRobot = function(ev) { var robot = ev.robot; robot.fire(); };
  • # 23761
    Polo
    created 02/07/17 20 code lines fight fork
    1470 SCORE
    2 KILLS
    68 SHOTS
    37 HITS
    53.62%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    //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(200); robot.rotateCannon(360); robot.back(200); robot.rotateCannon(360); }; Robot.prototype.onScannedRobot = function(ev) { var robot = ev.robot; robot.fire(); };