im late to the party (5 days old comment) but he did this in unity engine, and i think its done by throwing random chance of spawning rooms in, using procedural generation, but you can google about it.here is example tutorial: