Skip to content

Finding the shortest path between two points using python and the pygame library.

License

Notifications You must be signed in to change notification settings

Gsak3l/pathfinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pathfinder

This is supposed to find the ultimate path between two points, when there are walls blocking the way

Preview

Preview

Installation

Use the package manager pip to install PyGame.

pip install pygame

Usage

To execute the program, just type the following command

python3 pathfinder.py

How it Runs

how this works:
    1) left click somewhere on the screen for the start node
    2) left click somewhere on the screen for the end node
    3) add walls by left clicking
    4) press space for the algorithm to start
to remove something, right click the block you wish to be removed
press c to reset the game'

License

Licensed under the MIT License.

About

Finding the shortest path between two points using python and the pygame library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages