Check out this tech talk on procedural level generation in games – i.e. making random dungeons and more!
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/72136/procedural-level-generation-games-tech-talk-video