Skip to content

Instantly share code, notes, and snippets.

View nuk's full-sized avatar
🏠
Working from home

Fabricio Buzeto nuk

🏠
Working from home
View GitHub Profile
@nuk
nuk / robot.js
Created December 9, 2012 23:01 — forked from brunopedroso/robot.js
DOJOBOT
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
this.state = 'procurando';
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;