Howdy, it's me again. I recently watched a video explaining how Derek Yu's indie game "Spelunky" developed its levels. To run it down.
- It goes through a 16x16 grid of the level
- Makes sure that there's a free path between entrance and exit
- Fills the grid with various pre-made rooms, making sure any special rooms like Altars are off the main road.
- Fills certain blocks/spaces with gold, item boxes, enemies, extra blocks, etc.