Hi, I'm trying to implement a random level generator from premade rooms, something very similar to Rogue Legacy,
As you may know this is not a procedurally generated level so doors can be in some predefined locations of rooms.
There is no open ground between rooms, there is no corridors that connects rooms, rooms only connected to each other by their doors.
The generation algorithm should be fast and generate levels without dead locks.
All rooms are accessible from each other, some rooms may make a loop.
Should I use a trial and error algorithm like Depth First Search?