-Press G to randomize the map seed -Click to place a tile -Space + Click to remove a tile (press g to randomize the seed after changing the tiles) This program generates a random layout of tile patterns from a 1x1 to a 2x2 based on how they fit together. In the debug mode you can clearly see the distinct chunks that it created. red = 2x2 blue = 1x2 cyan = 2x1 regular = 1x1 Tile set from Spelunky All code by @panther__