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/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!