|
|
|
|
|
by bovermyer
2877 days ago
|
|
Iteration, I'd imagine. 1. Generate a pile of random rectangles. This is an additive operation (this is only important for #4, below). 2. Check to see if any overlap. If they do, remove one. 3. Repeat 2 until no more overlap. 4. Check to see if there are too few rooms in the map. If there are, go back to 1. 5. Add corridors (this is a whole 'nother topic). |
|