-- Application to find short distance between two points using Dijkstra's algorithm
make sure python is installed on your computer
python --version
Python 3.6.9
check the same for pip
pip --version
pip 20.3.3
install pygame module using pip (python package installer)
pip install pygame
clone the project and change the directory
git clone https://github.com/GanapathyPT/Short-Path-Finder.git
cd ./Short-Path-Finder
now execute the main file using python
python main.py
- Click any block to make it as Start Block
- Click another block to make it as End Block
- Make the Barriers by dragging the block of codes
- Click on specific button mentioned below once you done drawing the barriers
- Click on SPACE to use dijkstra's algorithm
- Click on ENTER to use the A* algorithm
- wait untill the Algorithm finds the path
- Click on any button to start again