MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • none
    else robot
    created 02/12/18 28 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 fire_cnt=0; var scan_flg = 0; var Robot = function(robot) { }; Robot.prototype.onIdle = function(ev) { var robot = ev.robot; if(scan_flg==0){ robot.ahead(1); robot.turn(1); }else{ robot.fire(); fire_cnt++; } if(fire_cnt > 50){ scan_flg = 0 fire_cnt = 0 } }; Robot.prototype.onScannedRobot = function(ev) { var robot = ev.robot; robot.fire(); scan_flg = 1; };
  • # 23724
    Ultra UFO Robot First UUR-F
    created 11/27/17 45 code lines fight
    1483 SCORE
    2 KILLS
    98 SHOTS
    31 HITS
    31.31%
    AVERAGE HITS/SHOT
    SCORE OVER TIME