Thanks! I could really make use of this algorithm, since it's coded in js it would be easy to translate for actual game development.
However I'm more used to working with Unity and C#, could you tell me how exactly i can download it?
E.g. in Chrome you can:
- open the dev tools (e.g. menu -> more tools -> developer tools)
- go to "sources" tab -> right-bar -> index.html
- download index.html file and grid.js file
that being said I just did a sloppy implementation of: http://www.roguebasin.com/index.php?title=Dungeon-Building_Algorithm - I'll believe you'll have more luck just reading that - there is even C# example implementation there you can use.