Skip to content

Instantly share code, notes, and snippets.

View heynemann's full-sized avatar

Bernardo Heynemann heynemann

View GitHub Profile
@heynemann
heynemann / robot.js
Created November 27, 2012 21:23
test
//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.ahead(100);
robot.rotateCannon(360);
@heynemann
heynemann / robot.js
Created November 27, 2012 21:15
Test2
//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.ahead(100);
robot.rotateCannon(360);
@heynemann
heynemann / robot.js
Created November 27, 2012 21:15
Test
//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.ahead(100);
robot.rotateCannon(360);
@heynemann
heynemann / robot.js
Created November 27, 2012 18:32
test2
//FightCode can only understand your robot
//if its class is called robotClass
var robotClass = function(){
};
robotClass.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
robot.rotateCannon(360);
@heynemann
heynemann / robot.js
Created November 27, 2012 18:31
test
//FightCode can only understand your robot
//if its class is called robotClass
var robotClass = function(){
};
robotClass.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
robot.rotateCannon(360);
@heynemann
heynemann / robot.js
Created November 27, 2012 16:06
test2
//FightCode can only understand your robot
//if its class is called robotClass
var robotClass = function(){
};
robotClass.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
robot.rotateCannon(360);
@heynemann
heynemann / robot.js
Created November 27, 2012 16:06
test
//FightCode can only understand your robot
//if its class is called robotClass
var robotClass = function(){
};
robotClass.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
robot.rotateCannon(360);
@heynemann
heynemann / robot.js
Created November 27, 2012 16:00
test2
//FightCode can only understand your robot
//if its class is called robotClass
var robotClass = function(){
};
robotClass.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
robot.rotateCannon(360);
@heynemann
heynemann / robot.js
Created November 27, 2012 15:59
test
//FightCode can only understand your robot
//if its class is called robotClass
var robotClass = function(){
};
robotClass.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
robot.rotateCannon(360);
@heynemann
heynemann / robot.js
Created November 27, 2012 15:56
test2
//FightCode can only understand your robot
//if its class is called robotClass
var robotClass = function(){
};
robotClass.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
robot.rotateCannon(360);