insert some project description here
Clone this repo
git clone https://github.com/emanuel2718/AstarPathfinding
cd AstarPathfindingInstall requirements
pip install -r requirements.txt
Run the visualizer:
python main.pyDiagonal movement during the A* star algorithm
python main.py -d
-
s: Add starting node (hover over desired square and press the key) -
e: Add ending node (hover over desired square and press the key) -
i: Invert grid background color (White -> Black or Blac -> White) -
c: Toogle on/off the coordinate system renderer on the grid -
?: Toogle on/off keybinds help panel -
n: Toogle on/off the score system renderer on the gridBottom left: G score --> movement cost from current square to start squareBottom right: H score --> movement cost from current square to end squareTop left: F score --> total score (h + g = f)
-
Esc: Toogle on/off the settings panel -
L_Shift+R: Restart the game -
Left click or drag: Add walls (obstacles)
-
Right click or drag: Remove walls
- Add close game keybind (i.e press 'q' to quit)
- Make it possible to de-select an initial node with right click (like the walls)
- Show notification with a tkinter window
- Make the UI look more polished (i.e Settings panel, keybinds panel etc.)
- Make a better settings panel (interactive with buttons)
- Refactor majority of the code (Mouse and key handlers etc.)
- Show time it took to find the path
- Optimize scores and coordinates renderer to handle different window sizes

