MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • # 448
    BBuddy
    created 03/17/14 62 code lines fight
    1500 SCORE
    3 KILLS
    179 SHOTS
    46 HITS
    25.56%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    Buddy
    created 03/17/14 42 code lines fight
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • # 270
    Buddy2
    created 03/18/14 37 code lines fight fork
    1522 SCORE
    3 KILLS
    52 SHOTS
    33 HITS
    62.26%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    var Robot = function(robot) { }; Robot.prototype.onIdle = function(ev) { var robot = ev.robot; robot.ahead(300); robot.clone(parentId); }; Robot.prototype.onRobotCollision = function(ev) { robot.stop(); robot.back(50); robot.ahead(50); }; Robot.prototype.onWallCollision = function(ev) { var robot; robot = ev.robot; robot.turnRight(90); }; Robot.prototype.onScannedRobot = function(ev) { var robot; robot = ev.robot; robot.fire(); robot.turnGRight(15); robot.fire(); }; Robot.prototype.onHitByBullet = function(ev) { var robot; robot = ev.robot; robot.turn(90 - ev.bulletBearing); };