Roquelikes, dungeon generators, procedurally generated levels and worlds are very popular. There are a lot of options and tutorials around the web for generating heightmaps, but what I found is that there aren’t many ideas on generating dungeons. Well, there are actually quite a few ways to generate dungeon systems. But there is one approach that I really like, and I will discuss that today.
Essentially, this approach exists out of 2 functions;