Thursday, November 28, 2019

procedural generation - Algorithm for generating a 2d maze



What algorithm have you used in the past to generate a simple 2d maze?



Answer



There are a lot of various ways of making mazes. There's a huge list of them and their descriptions here: http://www.astrolog.org/labyrnth/algrithm.htm


I think I used the one described under "Perfect".


No comments:

Post a Comment