MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • # 353
    akamatsu01
    created 01/02/18 27 code lines fight
    1541 SCORE
    3 KILLS
    204 SHOTS
    30 HITS
    14.63%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    akamatsu01
    created 01/01/18 20 code lines fight fork
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    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(); };
  • none
    matsu01
    created 01/01/18 17 code lines fight
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • # 23944
    matsu01
    created 12/31/17 20 code lines fight
    1484 SCORE
    0 KILLS
    18 SHOTS
    9 HITS
    47.37%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • # 65
    matsu 01
    created 01/02/18 27 code lines fight
    1602 SCORE
    13 KILLS
    359 SHOTS
    111 HITS
    30.83%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • # 376
    matsu02
    created 01/02/18 27 code lines fight
    1537 SCORE
    6 KILLS
    395 SHOTS
    74 HITS
    18.69%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    matsu 02_
    created 01/02/18 27 code lines fight fork
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    //FightCode can only understand your robot //if its class is called Robot var discovery = 0; var turn = 0; var Robot = function(robot) { }; Robot.prototype.onIdle = function(ev) { var robot = ev.robot; robot.rotateCannon(-2); if(discovery != 0){robot.rotateCannon(2); robot.fire(); discovery++;} if(discovery == 12) discovery = 0; robot.ahead(1); }; Robot.prototype.onScannedRobot = function(ev) { var robot = ev.robot; discovery = 1; }; Robot.prototype.onWallCollision = function(ev) { var robot = ev.robot; robot.turn(turn); if(turn == 360) turn = 0; else turn++; };
  • # 23685
    matu 03
    created 01/02/18 21 code lines fight
    1487 SCORE
    0 KILLS
    5 SHOTS
    1 HITS
    16.67%
    AVERAGE HITS/SHOT
    SCORE OVER TIME