You can see the implementation of BFS and DFS using simple JS.
You can make walls (black) where the person can't visit.
More algorithms will be implemented in the future(hopefully XD).
Cilck to create a wall.BFS will give shortest path and DFS will implement it's own search(Not always the shortest path)
May add Diagonal movements feature in the future.
(Greenish is BFS and Yellowish is DFS,Blue is start, Red is end and Black is Walls)
Site Link:https://pathinamaze.hitensharma.repl.co