MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • none
    Blaster
    created 02/15/17 32 code lines fight fork
    1500 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.rotateCannon(45); }; Robot.prototype.onScannedRobot = function(ev) { var robot = ev.robot; robot.fire(); }; Robot.prototype.onRobotCollision = function(ev) { robot.rotateCannon(45); }; Robot.prototype.onWallCollision = function(ev) { var robot = ev.robot; robot.turn(ev.bearing); // turn enought to be in a straight // angle with the wall. };
  • # 23542
    tertet
    created 02/15/17 20 code lines fight fork
    1481 SCORE
    1 KILLS
    14 SHOTS
    10 HITS
    66.67%
    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(100); robot.rotateCannon(360); robot.back(100); robot.rotateCannon(360); }; Robot.prototype.onScannedRobot = function(ev) { var robot = ev.robot; robot.fire(); };

LATEST COMBATS

WATCH THE LAST COMBATS OF THIS PLAYER'S ARMY