2D dungeon gen

anyone know or have a tutorial on how to make dungeon generation like in dani’s a triangle game? i dont want the loot or enemies i just want the rooms with halls.

this will depend on how random you want it, are you looking for completely random generated, map, some create rooms and random between them.