Skip to content

Instantly share code, notes, and snippets.

@slik
slik / robot.js
Created December 10, 2012 14:33
Zolmeister
var robots = new Array();
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.start = function( ev ){
var Server = require('net').Server;
exports.Server = new Class({
Implements: [Options, Events],
options: {
port: 8080
},
server: null,
(function(){
this.History = new new Class({
Implements: [Events],
options: {
period: 200,
defaultScreen: 'home'
},
/*