A* path finding algorithm implementation written in python for the pathfinding into programming project
- Download the repository
- install necessary libraries
$ py -m pip install -r requirements.txt
- Traverse to where the repository got downloaded and run the
main.py
file
$ py main.py
-
Open
settings.toml
in your favorite code editor -
Update the values in the
settings
property- cell_size: size of each cell
- row_cells: number of cells in each row
- col_cells: number of cells in each column
Note: the size of the screen [width, height] will be (cell_size * row_cells, cell_size * col_cells)
Click anywhere on the window the screen grid that opens up when the program is run.
- The first click sets the starting point
- The second click sets the ending point
- All clicks further on set or remove blockades
Hit space bar to run the program when satisfied with the board state