Skip to content

Instantly share code, notes, and snippets.

View ikkebr's full-sized avatar

Henrique Pereira ikkebr

View GitHub Profile
@ikkebr
ikkebr / robot.js
Created December 10, 2012 20:00
Zolmeister2
var robots = new Array();
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.start = function( ev ){
@ikkebr
ikkebr / robot.js
Created December 12, 2012 17:05 — forked from samelinux/robot.js
Multiple Wall Killer
var Robot = function(robot) {
robot.clone();
};
Robot.prototype.onIdle = function(ev) {
ev.robot.back(30);
robot.rotateCannon(180);
};