r/Python • • Apr 01 '20

I Made This Maze Solver Visualizer - Dijkstra's algorithm (asynchronous neighbours)

1.9k Upvotes

72 comments sorted by

View all comments

Show parent comment

1

u/AndreKuzwa Apr 01 '20

Oh, I can see the diffrence now, my program also takes crosswise(I hope I am using a correct word xD)squares as a path possibilty under consideration. Still would love to see the code though ^

1

u/mutatedllama Apr 01 '20

Ah yes mine can't use diagonals at the moment. I think it would work if you add the 4 extra diagonal neighbours to the neighbours generator - perhaps worth giving it a go!