Take a journey through A-Star's pathfinding with a visual guide
- Make sure you have latest python version
- Clone the repository to your local machine
git clone https://github.com/AnirudhDaya/A-Star-Visualization.git
- Change your current working directory to the repository
cd A-Star-Visualization
-
Open the .py file in an IDE
-
Run the python code
- First set the start position
- Second set the end postion
- If you want , you can add obstacles in the way. One click, implies, a difficult to traverse cell but it can take that pat, two clicks implies impenetrable obstacle
- Press space to start visualizing
- Press c to reset the grid