MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • # 23538
    Lirik
    created 10/22/17 20 code lines fight
    1498 SCORE
    2 KILLS
    30 SHOTS
    23 HITS
    74.19%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • # 24444
    Lirikklim
    created 09/08/17 20 code lines fight
    1447 SCORE
    0 KILLS
    21 SHOTS
    6 HITS
    27.27%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • # 24325
    Lirikklim
    created 09/08/17 20 code lines fight fork
    1458 SCORE
    0 KILLS
    5 SHOTS
    2 HITS
    33.33%
    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(100); robot.rotateCannon(360); robot.back(100); robot.rotateCannon(360); }; Robot.prototype.onScannedRobot = function(ev) { var robot = ev.robot; robot.fire(); };