CoffeeScript MapGenerator for games