Skip to content

Instantly share code, notes, and snippets.

View olavph's full-sized avatar

Olav Philipp Henschel olavph

View GitHub Profile
@olavph
olavph / robot.js
Created December 5, 2012 18:44
DUMMYBOT
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
var radius = 100;
Robot.prototype.onIdle = function(ev) {
@olavph
olavph / robot.js
Created December 4, 2012 15:01
RoBoB
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
robot.clone();
};
var speed = 2;
Robot.prototype.onIdle = function(ev) {