My friend Zack recently built a dungeon generator in lieu of nanowrimo, and did a little write-up about it. I cloned the repo for it with the best intentions of contributing, but alas can take no credit for what he’s done here. Pretty neat stuff.