MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • # 494
    Goffa
    created 05/09/18 32 code lines fight
    1527 SCORE
    3 KILLS
    57 SHOTS
    40 HITS
    68.97%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • # 23676
    Gruggbot
    created 05/16/18 20 code lines fight fork
    1485 SCORE
    1 KILLS
    6 SHOTS
    5 HITS
    71.43%
    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(); };