Skip to content

hey2022/pathfinding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pathfinding

Code style: black License: GPL v3

About

This program will allow users to interactively visualise many different pathfinding algorithms.

Getting Started

Windows

  1. Clone the repository git clone https://github.com/hey2022/pathfinding.git
  2. Enter the directory cd pathfinding
  3. Setup the virtual environment python -m venv venv
  4. Activate virtual environment .\venv\Scripts\activate
  5. Install dependencies pip install -r requirements.txt

Linux

  1. Clone the repository git clone https://github.com/hey2022/pathfinding.git
  2. Enter the directory cd pathfinding
  3. Setup the virtual environment python -m venv venv
  4. Activate virtual environment source ./venv/bin/activate
  5. Install dependencies pip install -r requirements.txt

Usage

Run

  1. Activate the virtual environment
  2. Run python main.py

Keybinds

  • LMB to create a wall node
  • RMB to clear a node
  • s to set the source node
  • t to set the target node
  • c to clear the board
  • tab to cycle which pathfinding algorithm to use
  • enter to run the pathfinding algorithm

About

Pathfinding Demonstration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages