This program is a simple visualisation of some path finding algorithms :
- Breadth-first search
- Depth-first search
- Uniform-cost search
- A star search
- Download the folder and compile the "Path_Finding.pde" file.
- Compile with Processing.
NOTE: Be sure that your compiled file is inside a folder with the same name (and also be sure that rest of the files are in the same folder in this case its Path-Finding).
- You are the red dot you can move using arrow keys.
- The final point is the yellow dot that you can initialize.
- The grey dots are all the spots where the algoirthme searched in the process.
- The green dots are the optimal path found.
- You can Add orange blocks (walls) using your left mouse button.
- The violet blocks are blocks that cost extra points to move in (useful in some algorithms) you can add them by code.
- You can change the algorithme in the program by pressing 1,2,3 or 4 for :
- Breadth-first search
- Depth-first search
- Uniform-cost search
- A star search
- Breadth-first search