MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • none
    にわせみほ
    created 01/16/18 115 code lines fight
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • # 142
    ちんぽまんだぞ
    created 12/31/17 97 code lines fight
    1578 SCORE
    115 KILLS
    2,689 SHOTS
    959 HITS
    35.65%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • # 25041
    Russian robot
    created 12/31/17 1708 code lines fight
    59 SCORE
    4 KILLS
    54 SHOTS
    26 HITS
    47.27%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    seeker
    created 12/30/17 85 code lines fight
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    Stingray
    created 12/31/17 45 code lines fight fork
    0 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.clone(); robot.ahead(100); robot.rotateCannon(360); robot.back(100); robot.rotateCannon(360); }; Robot.prototype.onScannedRobot = function(ev) { var robot = ev.robot; var scanned =ev.scannedRobot; if(scanned.id !== robot.parentId && scanned.parentId !== robot.id) { robot.fire(); robot.rotateCannon(-3); robot.rotateCannon(-30); }else{ robot.ahead(30); } }; Robot.prototype.onHitByBullet = function(ev) { var robot; robot = ev.robot; robot.turn(90 - ev.bulletBearing); robot.ahead(-50); robot.turn(60 - ev.bulletBearing); robot.back(90); }; Robot.prototype.onRobotCollision = function(ev) { var robot = ev.robot; robot.ahead(robot.position+5); robot.ahead(robot.position-15); // trying to run away };
  • # 24302
    test1
    created 12/29/17 62 code lines fight
    1474 SCORE
    4 KILLS
    231 SHOTS
    57 HITS
    24.57%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • # 24315
    test2
    created 12/30/17 97 code lines fight
    1473 SCORE
    27 KILLS
    432 SHOTS
    214 HITS
    49.42%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    test3
    created 01/02/18 91 code lines fight
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME