Skip to content

Instantly share code, notes, and snippets.

View fwitzke's full-sized avatar
🙃

Fernando Witzke fwitzke

🙃
View GitHub Profile
@fwitzke
fwitzke / robot.js
Created December 5, 2012 23:33 — forked from raninho/robot.js
clone0002
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot){
};
rotated = false;
Robot.prototype.onIdle = function(ev) {
@fwitzke
fwitzke / robot.js
Created December 5, 2012 16:01 — forked from Shipow/robot.js
cheater666
var Robot = function(robot) {
robot.rotateCannon(-90);
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead();
};
function isClone(robot1, robot2) {