Skip to content

Instantly share code, notes, and snippets.

View fwitzke's full-sized avatar
🙃

Fernando Witzke fwitzke

🙃
View GitHub Profile

Keybase proof

I hereby claim:

  • I am fwitzke on github.
  • I am fwitzke (https://keybase.io/fwitzke) on keybase.
  • I have a public key whose fingerprint is FDDB 5218 7B47 4CD0 F38D C781 FA85 1B81 39BD DAEB

To claim this, I am signing this object:

@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 23:09
stupid_bot
var Robot = function(robot) {
robot.clone();
};
var scanning=true;
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(3);
if(scanning) {
@fwitzke
fwitzke / robot.js
Created December 5, 2012 22:48
pigroxalot
//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);
@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) {