Skip to content

MoritzLue24/Pathfinding-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pathfinding

A visual representation of various pathfinding algorithms (for now just the A* algorithm, but in future i will add more).

Reqirements

  • pygame==2.1.2

Usage

  • Install python
  • Set up virtualenv, if you want to
  • Install pip packages with pip install -r requirements.txt
  • Run with python python Pathfinding

Controls

  • Press and hold Leftclick to create a Node.
  • The first node to be created is the start node, the second the end node and every other a barrier.
  • Press and hold Rightclick to remove a Node.
  • Press Space to run / exit the algorithm.