Skip to content

Instantly share code, notes, and snippets.

View ticolucci's full-sized avatar

Thiago R. Colucci ticolucci

View GitHub Profile
@ticolucci
ticolucci / keybase.md
Created October 8, 2017 10:03
keybase.md

Keybase proof

I hereby claim:

  • I am ticolucci on github.
  • I am ticolucci (https://keybase.io/ticolucci) on keybase.
  • I have a public key ASBQJ4WRSINQmN37QiwabgAtWTxNQZHzae_FNhw_Wky4rgo

To claim this, I am signing this object:

#!/usr/bin/env ruby
require 'rubygems'
require 'fssm'
$from_path = ARGV[0] || "src"
$to_path = ARGV[1] || "bin"
def update_haml base, relative
puts relative
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
robot.rotateCannon(90);
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(50);
@ticolucci
ticolucci / robot.js
Created December 8, 2012 12:31
MegaMan
var Robot = function(robot) {};
var searching = true;
var direction = 1;
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
if (searching) {
robot.rotateCannon(90);
searching = false;
@ticolucci
ticolucci / robot.js
Created December 6, 2012 12:19
[TW Team] Megaman
//FightCode can only understand your robot
//if its class is called Robot
var found = false;
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;