Skip to content

This is a simple visualization of the A* pathfinding algorithm in Pygame.

Notifications You must be signed in to change notification settings

leonbi100/pathfinding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A* Pathfinding Pygame Visualization

This is a simple visualization of the A* pathfinding algorithm. To try it for yourself you must have Pygame installed

A* Pathfinding Demo

To Run:

python3 main.py
  • Click to create walls.
  • Hold 'q' and click to create a start node
  • Hold 'w' and click to create an end node
  • Hold 'shift' and return to erase nodes
  • Press 'return' to start visualization
  • Press 'spacebar' to clear grid
  • Press 'esc' to exit

Requirements

pip install pygame

About

This is a simple visualization of the A* pathfinding algorithm in Pygame.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages