News for hackers. Stuff that matters.
Re:Rooms and Mazes: A Procedural Dungeon Generator by jmartinpetersen on Monday December 22, 2014 @06:09AM (#8782695)
It is an amazing article. The "fluff" prose is well written and the visualizations are awesome. Kudos.

An honest question, though, is maze generation generally useful? Other than for generating mazes and dungeons, obviously, not that isn't a worthy goal in and of it self.

Re:Rooms and Mazes: A Procedural Dungeon Generator by dirkk0 on Monday December 22, 2014 @06:38AM (#8782742)
I think some of the ideas behind maze generation can be applied to procedural level generation in general, whith some clever tweaks at least.

Here is an approach in Python albeit not as interactive as the mentioned article: http://pixelenvy.ca/wa/ca_cave.html

In case people didn't recognize, the author of the articel is also the author of this book which is for free (kudos!) on the interwebs and can be bought as a eBook. http://gameprogrammingpatterns.com/

Re:Rooms and Mazes: A Procedural Dungeon Generator by jmartinpetersen on Monday December 22, 2014 @07:50AM (#8782900)
But what about something completely different? I get that generation of "content" is (going to be) a big thing, but I'm curious if there's something about it that was applicable in a completely different setting (medicine, finance, whatever).
Re:Rooms and Mazes: A Procedural Dungeon Generator by applekor on Monday December 22, 2014 @06:51AM (#8782763)
Last time I needed a maze I implemented Kruskal's algorithm, which is generally useful for finding the minimum spanning tree of a graph. You just run it on a lattice graph where all edge weights are the same and you have yourself a perfect maze.