The box game in coffeescript