HTML5 Tile recreation game that generates maps