Skip to content

Instantly share code, notes, and snippets.

View lucasaug's full-sized avatar

Lucas Augusto lucasaug

View GitHub Profile
@lucasaug
lucasaug / robot.js
Created December 11, 2012 15:00
SnakeSkin
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
this.step = 60;
this.baseRot = 70;
this.rotDir = 1;
this.shootRot = 50;
this.turnQuant = 10;
this.turnDir = 1;