Elo Rating System in coffeescript.