- For running the code first install python and pygame on pc.
- After installing run the code then the white screen with grids will open.
- After running the code press left mouse click in the pygame window to select start location and end location.
- After Selecting Start and End Location select the walls by clicking the left Mouse click.
- To unselect the specific location in Grid press the right mouse click on that location.
- After creating Walls Press 'a' or 'b' to find the path between start and end location.
- 'a' for A* algorithm, 'b' for BFS algorithm.
- A path will be created between the start and end locations.
- After Finding the path Press 'r' to reset the grid.