Skip to content

Instantly share code, notes, and snippets.

@pawel220
pawel220 / robot.js
Created December 4, 2012 17:38
niszczycile
//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;
@pawel220
pawel220 / robot.js
Created December 4, 2012 17:36
PAPIEZCHUJ
//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.fire();
@pawel220
pawel220 / robot.js
Created December 4, 2012 17:26
PAPIEZ
//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.fire();