Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 708 Bytes

README.md

File metadata and controls

10 lines (10 loc) · 708 Bytes

Path_Finding

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