Nov-11-2017, 03:38 AM
So I have been interested in mazes recently(you can even see I made a thread about it earlier, haha) and I was trying to understand this cool software's code:
https://www.dropbox.com/sh/3tl3vmsd8ebxo...=maze51.py
What maze generation algorithm is used here in the generator function?
I can kind of get how the DFS/BFS is implemented, but the parts I can not understand/follow are the A* and Greedy and Djikstra's implementation even after seeing their Wikipedia pages.
So if someone here could break down some of those things and help understand it, it would be great. If you could spare some time we could also talk via PM :) I'm gonna be starting school soon so these would be really helpful for me.
https://www.dropbox.com/sh/3tl3vmsd8ebxo...=maze51.py
What maze generation algorithm is used here in the generator function?
I can kind of get how the DFS/BFS is implemented, but the parts I can not understand/follow are the A* and Greedy and Djikstra's implementation even after seeing their Wikipedia pages.
So if someone here could break down some of those things and help understand it, it would be great. If you could spare some time we could also talk via PM :) I'm gonna be starting school soon so these would be really helpful for me.