You need SFML installed. If you are on Ubuntu, simply run sudo apt-get install libsfml-dev
in your terminal. For other OS, please see how to install SFML from here --> https://www.sfml-dev.org/tutorials/2.5/
git clone https://github.com/Parimal7/pathfinding-visualizer.git
g++ pathfinder.cpp -o pathfinder -std=c++11 -lsfml-window -lsfml-system -lsfml-graphics
./pathfinder
- You can left click tiles to draw walls on the grid.
- Search using either Dijkstra or A* pathdinging algorithm by clicking the respective buttons.
- Add the continuous creation of walls when left mouse button is clicked.
- Add more search algorithms.
- Shift to Qt framework from SFML.