Skip to content

Instantly share code, notes, and snippets.

View brunocasado's full-sized avatar

Bruno Casado brunocasado

View GitHub Profile
{
"estados": [
{
"sigla": "AC",
"nome": "Acre",
"cidades": [
"Acrelândia",
"Assis Brasil",
"Brasiléia",
"Bujari",
@brunocasado
brunocasado / robot.js
Created December 8, 2012 00:19 — forked from richarddaros/robot.js
RDAROS
var Robot = function(robot) {};
// meus robos
var my_robots = [];
/**
*
*/
var verify_my_robots = function(a, obj) {
for (var i = 0; i < a.length; i++) {
@brunocasado
brunocasado / robot.js
Created December 8, 2012 00:16 — 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;