Coffeescript game engine