MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • none
    Destructor V1.2
    created 12/27/17 30 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.ahead(35); robot.turn(9); robot.rotateCannon(10) /*robot.ahead(100); robot.rotateCannon(360); robot.back(100); robot.rotateCannon(360);*/ }; Robot.prototype.onScannedRobot = function(ev) { var robot = ev.robot; robot.fire(); robot.rotateCannon(-11) }; Robot.prototype.onHitByBullet = function(ev) { var robot; robot = ev.robot; robot.rotateCannon(30) //robot.turn(90 - ev.bulletBearing); };
  • # 24184
    rambot
    created 12/27/17 18 code lines fight
    1476 SCORE
    9 KILLS
    145 SHOTS
    96 HITS
    65.75%
    AVERAGE HITS/SHOT
    SCORE OVER TIME