MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • # 336
    Noided
    created 10/31/17 35 code lines fight
    1534 SCORE
    12 KILLS
    217 SHOTS
    130 HITS
    59.63%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    number 2
    created 10/31/17 33 code lines fight fork
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    function Robot(robot) {} // well, we need to do something... // whenever our robot is idle, this method gets called. Robot.prototype.onIdle = function(ev) { var robot; robot = ev.robot; robot.ahead(150); robot.rotateCannon(360); robot.back(100); robot.rotateCannon(360); robot.turn(20); }; // this method gets called whenever we hit another robot... Robot.prototype.onRobotCollision = function(ev) {}; // this method gets called whenever we hit a wall... Robot.prototype.onWallCollision = function(ev) {}; // yay we see another robot! time to wreak some havoc... Robot.prototype.onScannedRobot = function(ev) { var robot; robot = ev.robot; robot.fire(1); }; // ohhh... we were hit by another robot... Robot.prototype.onHitByBullet = function(ev) { var robot; robot = ev.robot; robot.turn(90 - ev.bulletBearing); };

LATEST COMBATS

WATCH THE LAST COMBATS OF THIS PLAYER'S ARMY