Here's a little experiment with randomly generated maps based on this post at the blog Renaissance Woodsman.

I wrote a little javascript doodad to take a list of rooms (mapped to the cards in a deck of cards), arrange them according to the rules outlined in the blogpost above, and then render them as an image.
I wanted the generator to be entirely self-contained, so it uses only unicode characters and simple geometric shapes. Here are a couple randomly generated example castles:

HeadslideSchoolMap.png

LumblefartsSchoolMap.png

And here is the standalone html file with the generator.