MY ROBOTS

ABSOLUTELY EVERYTHING ABOUT YOUR ARMY OF ROBOTS
  • none
    [CAELUM TEAM]Megatron
    created 12/06/12 0 code lines fight fork
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    None
  • none
    Czołg
    created 12/06/12 0 code lines fight fork
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    None
  • none
    M.O.N.T.E 1.0
    created 12/06/12 43 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(100); robot.rotateCannon(360); }; // this method gets called whenever we hit another robot... Robot.prototype.onRobotCollision = function(ev) { var robot; robot = ev.robot; robot.back(100); }; // this method gets called whenever we hit a wall... Robot.prototype.onWallCollision = function(ev) { var robot; robot = ev.robot; robot.turn(120+ev.bearing); }; // yay we see another robot! time to wreak some havoc... Robot.prototype.onScannedRobot = function(ev) { var robot; robot = ev.robot; robot.fire(); robot.turn(90+ev.bearing); robot.ahead(100); }; // ohhh... we were hit by another robot... Robot.prototype.onHitByBullet = function(ev) { var robot; robot = ev.robot; robot.turn(ev.bulletBearing); };
  • # 23676
    M.O.N.T.E 1.1
    created 12/06/12 87 code lines fight fork
    1478 SCORE
    5 KILLS
    137 SHOTS
    70 HITS
    50.72%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    function Robot(robot) {} var bool = 1; // 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.clone(); if(robot.parentId){ robot.ahead(4); robot.turn(4); robot.rotateCannon(1); } else{ robot.ahead(-1); robot.turn(-1); robot.rotateCannon(-1); } }; // this method gets called whenever we hit another robot... Robot.prototype.onRobotCollision = function(ev) { var robot; robot = ev.robot; robot.turn(45); robot.back(50); }; // this method gets called whenever we hit a wall... Robot.prototype.onWallCollision = function(ev) { var robot; robot = ev.robot; robot.turn(45); robot.back(50); }; // yay we see another robot! time to wreak some havoc... Robot.prototype.onScannedRobot = function(ev) { var robot; robot = ev.robot; if( robot.parentId == ev.scannedRobot.id || robot.id == ev.scannedRobot.parentId){ return; } robot.fire(); if(robot.parentId){ if(ev.scannedRobot.position.x < 40){ robot.rotateCannon(-4); } else if(ev.scannedRobot.position.x >= 40 && ev.scannedRobot.position.x < 100){ robot.rotateCannon(-25); } else if(ev.scannedRobot.position.x >= 100 && ev.scannedRobot.position.x < 200){ robot.rotateCannon(-30); } else if(ev.scannedRobot.position.x >= 200){ robot.rotateCannon(-45); } } else{ if(ev.scannedRobot.position.x < 40){ robot.rotateCannon(4); } else if(ev.scannedRobot.position.x >= 40 && ev.scannedRobot.position.x < 100){ robot.rotateCannon(20); } else if(ev.scannedRobot.position.x >= 100 && ev.scannedRobot.position.x < 200){ robot.rotateCannon(30); } else if(ev.scannedRobot.position.x >= 200 && ev.scannedRobot.position.x < 300){ robot.rotateCannon(40); } else if(ev.scannedRobot.position.x >= 300){ robot.rotateCannon(45); } } robot.fire(); }; // ohhh... we were hit by another robot... Robot.prototype.onHitByBullet = function(ev) { var robot; robot = ev.robot; robot.turn(ev.bulletBearing); };
  • # 427
    M.O.N.T.E 1.2
    created 12/06/12 64 code lines fight fork
    1516 SCORE
    7 KILLS
    217 SHOTS
    99 HITS
    45.41%
    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.clone(); if(robot.parentId){ robot.ahead(1); robot.turn(1); robot.rotateCannon(1); } else{ robot.ahead(-1); robot.turn(-1); robot.rotateCannon(-1); } }; // this method gets called whenever we hit another robot... Robot.prototype.onRobotCollision = function(ev) { var robot; robot = ev.robot; robot.back(50); robot.turn(45); }; // this method gets called whenever we hit a wall... Robot.prototype.onWallCollision = function(ev) { var robot; robot = ev.robot; robot.turn(ev.bearing); robot.back(100); }; // yay we see another robot! time to wreak some havoc... Robot.prototype.onScannedRobot = function(ev) { var robot; robot = ev.robot; if( robot.parentId == ev.scannedRobot.id || ev.scannedRobot.parentId){ return; } robot.ignore(Robot.prototype.onIdle); robot.fire(); if(robot.parentId){ robot.rotateCannon(-20); } else { robot.rotateCannon(20); } robot.fire(); }; // ohhh... we were hit by another robot... Robot.prototype.onHitByBullet = function(ev) { var robot; robot = ev.robot; robot.turn(90+ev.bulletBearing); robot.ahead(50); };
  • none
    NecroBadger
    created 12/06/12 0 code lines fight fork
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    None
  • none
    QR-bot-009
    created 12/06/12 0 code lines fight fork
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    None
  • none
    QR-bot-009
    created 12/06/12 0 code lines fight fork
    1500 SCORE
    0 KILLS
    0 SHOTS
    0 HITS
    0.00%
    AVERAGE HITS/SHOT
    SCORE OVER TIME
    None