Rooms are LvlMaze SizeX by SizeY tile blocks. A room is placed flush against a parent room on one of four sides:
0 west, 1 north, 2 east, 3 south.
Two random streams are used: the level seed (which room to grow from, each new room's seed, and at the end
which preset file each room uses) and every room's own seed (which side to grow on, merge rolls).
A draw advances a seed (lo, hi) as lo*0x6AC690C5 + hi (64-bit) and returns the new lo. "lo % n" picks one of n.
Schematic drawing: each room is a labelled box (R and its number; after the conversion steps also its Def
and the preset file index). Blue outline: placed room; yellow: this step's room; a green bar on a shared edge: a door
between two rooms. The final frame puts a cyan diamond on each room box that holds a warp, labelled with the level it leads to
(Levels Vis of the warp slot the room's preset holds); where in the room the warp sits is not shown.
The seed is an illustrative input, not one the game derives from a game seed. Rooms the model tries and drops
are listed in the calculations but not drawn.