Open cxong opened 10 years ago
Rogue page down; reproduce archived version here:
The original Rogue algorithm is pretty nifty. Any time you need a random dungeon, give this a try:
Rogue also has "gone rooms", which just put a corridor space instead of the room, and draws L-shaped corridors instead of straight lines, but those are just flavor.
This algorithm also has the virtues of being extremely fast (even on MUCH bigger grid arrays than 3x3), and guaranteed to succeed.
Other algos:
A very nice extension to normal CA, where selecting cells at random instead of doing the whole thing in phases allows for more flexibility. The corridor connection is also a great feature to have.
Also good to consider the extensions that Cogmind implemented, namely the "Mines" variant, with the addition of rectangular rooms
Some cool algorithms here: https://github.com/marukrap/Procedural-Map-Generator
Some existing algos to try: