Javascript game logic from my team's final project converted into a ruby gem.