MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • # 23808
    HAL
    created 12/13/13 23 code lines fight fork
    1484 SCORE
    0 KILLS
    3 SHOTS
    3 HITS
    75.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    var me = []; var Robot = function(robot) { me.push(robot.id); robot.rotateCannon(360); }; Robot.prototype.onScannedRobot = function(ev) { seekAndDestroy(ev); }; function seekAndDestroy(ev){ var robot = ev.robot; robot.fire(); console.log(robot.gunCooldownTime); setTimeout(premeditativeFire(), robot.gunCooldownTime); } function evasiveManouver(){} function premeditativeFire(){ robot.fire(); }