MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • none
    1. repricate Wall 2017 -7-13
    created 07/13/17 44 code lines
    0 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    2. replicate Seeker 2017-7-13
    created 07/12/17 44 code lines
    0 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    3. Wall Killer 2017 -7-13
    created 07/11/17 20 code lines
    0 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    4. Seeker killer 2017 -7-13
    created 07/13/17 16 code lines
    0 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    5 Seeker 2017 -7-15
    created 07/15/17 37 code lines
    0 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    7-wall 7-15
    created 07/15/17 38 code lines
    0 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
  • none
    exterminussun do futuro
    created 07/11/17 63 code lines 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){ this.shouldFire = 0; }; Robot.prototype.onIdle = function(ev) { var robot = ev.robot; if (this.shouldFire > 0){ robot.ahead(10); robot.fire(); this.shouldFire = this.shouldFire - 1; return; } robot.clone(); robot.listen('onScannedRobot'); robot.ahead(100); }; Robot.prototype.onScannedRobot = function(ev) { var robot = ev.robot, scannedRobot = ev.scannedRobot; if (robot.id == scannedRobot.parentId || robot.parentId == scannedRobot.id) { return; } this.shouldFire = 10; robot.ignore('onScannedRobot'); robot.stop(); }; Robot.prototype.onWallCollision = function(ev) { var robot = ev.robot; robot.listen('onScannedRobot'); if (robot.parentId){ robot.turn(ev.bearing + 90); robot.rotateCannon(ev.bearing + 90); } else { robot.turn(ev.bearing - 90); robot.rotateCannon(ev.bearing - 90); } robot.ahead(40); }; Robot.prototype.onRobotCollision = function(ev) { var robot = ev.robot; robot.rotateCannon(ev.bearing); robot.turn(ev.bearing + 90); robot.ahead(20) this.shouldFire = 10; }; Robot.prototype.onHitByBullet = function(ev) { var robot; robot = ev.robot; robot.turn(45 - ev.bulletBearing); robot.rotateCannon(ev.bulletBearing); robot.fire(); };
  • none
    if .....
    created 07/12/17 24 code lines
    0 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME

LATEST COMBATS

WATCH THE LAST COMBATS OF THIS PLAYER'S ARMY