Skip to content

Jacob-GHub/A-Star-Pathfinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A* pathfinding visualizer

This is a pathfinding display which uses the popular A* algorithm to calculate the shortest distance between two points. The display was made using pygame which means the entire A* algorithm was made from scratch to work correctly within the pygame display. The user must select a starting tile, ending tile, and obstacle(s) for the algorithm to work with, examples are shown below.

Installation

CHECK RELEASES FOR DOWNLOADBLE!

Screenshot 2024-09-19 at 12 49 43 PM

Use the package manager pip to install pygame.

pip install pygame #for python
pip3 install pygame #for python3

Next, use pygame to run the program.

python aStar.py spritesheet.py button.py #for python
python3 aStar.py spritesheet.py button.py #for python3

Scenes

Screenshot 2024-07-01 at 7 59 04 PM Screenshot 2024-07-01 at 7 59 25 PM 3 4 2 4 Screenshot 2024-07-01 at 8 08 38 PM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages