In a process of creating a building generation routine I'm wondering if anyone has tackled it before. Building as a group of rooms connected in some logical way. One way to do it is using seemingly random building blocks that fit together, but I think it would result in somewhat boring and predictable buildings. In fact when I try to remember games that have this I don't even know if they exist.
The way I'm thinking it would work is first decide what kind of rooms the building has and then somehow determine their locations and possible corridor style rooms between them. Funny thing about corridors is that afaik they are somewhat new invention. Buildings didn't use to have corridors in the past, rooms were just connected to each other.