Here.
My idea was to have a way of randomly generating rooms, like a function that added, say, a chest, picking a random tile in the room using the non-random seed thing, so the chest would be in the same place every time you used the same seed number. Then you could have many other elements that could be added. Then maybe every room has a sort of “X” and “y” to it so when you leave to the right the “X” goes up, down if you leave to the left, and “y” does the same but with up and down. Then, when you enter a room, you could maybe multiply them together or something to get the seed that would make that room.