Skip to content

Instantly share code, notes, and snippets.

@vitorbcs
vitorbcs / robot.js
Created December 8, 2012 15:49 — forked from yuyi/robot.js
OPENROBOT
function Robot(robot) {
this.dd = false;
}
// well, we need to do something...
// whenever our robot is idle, this method gets called.
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
@vitorbcs
vitorbcs / robot.js
Created December 8, 2012 02:24
Epidemic Destructor
function Robot(robot) {}
var achei = 0;
// well, we need to do something...
// whenever our robot is idle, this method gets called.
Robot.prototype.onIdle = function(ev) {
var robot;
robot = ev.robot;