Skip to content

Instantly share code, notes, and snippets.

We couldn’t find that file to show.
@wojtalke
wojtalke / robot.js
Created December 4, 2012 21:38
Testing_robot
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.turn(60);