/A-Star-Pathfinding-Algorithm

Implemented with pygame, this script will find the shortest distance between two nodes using A* Algorithm

Primary LanguagePython

A* Pathfinding Algorithm 🌟

Implemented with pygame, this script will find the shortest distance between two nodes using A* Algorithm 🎮

Instructions/ Keys Functionalities :

  • Left Click to add start and end nodes

  • Right Click to remove the nodes

  • Space Bar to start finding the shortest distance

  • 'C' to clear and reset the grid

Requirements:

pip install pygame

ss