Skip to content

Instantly share code, notes, and snippets.

@matthewrobb
Created December 4, 2012 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewrobb/4209690 to your computer and use it in GitHub Desktop.
Save matthewrobb/4209690 to your computer and use it in GitHub Desktop.
Phenbot
function Robot(robot) {
this.bots.push(this);
};
Robot.prototype = {
constructor: Robot,
bots: [],
onIdle: function(ev) {
ev.robot.clone();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment