mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2025-04-14 08:17:37 +00:00
583 B
583 B
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