Skip to content

Instantly share code, notes, and snippets.

View krowinski's full-sized avatar
I may be slow to respond.

Kacper Rowiński krowinski

I may be slow to respond.
View GitHub Profile
krowinski / robot.js
Created December 4, 2012 21:47
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
Robot.prototype.onIdle = function(ev) {
var robot;
robot = ev.robot;