If anyone&#x27;s interested, there is a Reddit post explaining this and an interactive demo from 2 years ago:<p><a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;gamedev&#x2F;comments&#x2F;1dlwc4&#x2F;procedural_dungeon_generation_algorithm_explained&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;gamedev&#x2F;comments&#x2F;1dlwc4&#x2F;procedural_...</a><p><a href="http:&#x2F;&#x2F;tinykeep.com&#x2F;dungen&#x2F;" rel="nofollow">http:&#x2F;&#x2F;tinykeep.com&#x2F;dungen&#x2F;</a>