Python Turtle Maze
The player solves a maze that is randomly generated using Kruskal's maze algorithm using python turtle
https://repl.it/@18cyrj/Finished-maze-project
Once the maze is generated you move the turtle with the dots under the maze.
Nice!
this is awesome
can you see the broad no you cant i covered it
Erm, I tried it, and it DREW EVERYWHERE
i should tell you..for me nothing happen when i touched the black near the end
Huh.
If you randomly press buttons quickly, weird things happen.
Try.
-Ebest
w a s d work. nothing else works. also, I solved the slow generation problem.
Quick now!
Takes 5 seconds to generate size 5 maze. The solution is disabling screen refreshes:
How to speed up python's 'turtle' function and stop it freezing at the end
Cool! I just wish the maze was generated faster.
@brandaboss: Thanks man! Yeah I do too, but using turtle this was the quickest I was able to get it, I bet there's more optimizing possible but I don't think it'd be much at least for this generation algorithm :)
Is good.
@lifeyears332: Appreciate it man :)
not sure how to play this game 😞
It's a bit easy due to the small size of the maze.
edit: nvm found out I can change the grid size
It doesn't work for me: ExternalError: TypeError: /\((.*)\)/.exec(...) is null on line 2
@thoq: is that on repl? works fine for me but I just tried it in IDLE and it paused halfway through, I made this months ago but if I remember correctly it's because the turtle was inexplicably returning extremely long floats like 49.998741231245123 and I guess I forgot to make it catch that in one spot
Nice drawing app dude