Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 658 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 658 Bytes

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.