Python maze generator with path solution
HTML-код
- Опубликовано: 13 сен 2024
- Python maze generator program. this program is developed using Python 3.5 and Pygame.
Maze generatior algorithm found at en.wikipedia.o...
download code from Github: github.com/ton...
Great video, thanks for sharing! btw, implement visited as a set() should be faster than a list since it is a hashmap. It is fine though as long as the speed is not the concern here. (it might be when you scale up the size of the maze)
Hey! I have a few questions for you about this. I’m working on a project and I had some unusual questions about this maze generator that would greatly speed up the progress on the project. Is there a way I can DM or email you?
What's the search algoritm for going back?
Do you know why when I run your code, the window only opens at the end of the animation and doesn't shows the maze being build, only the result at the end?
try to put >>>speed(1) after importing turtle ?
Nice!
dope
where do I get the py game
4:47
how would one speed the process up?
There are time.sleep() funtions in the code to make it easier to understand.
Simply set a # in front of it and it will finish in under five seconds
It's so hard
Hi,
I would like to talk to you in private, is it possible to find you on Twitter or anything else ?