Skip to content

kleist0202/path_finding_visualizer

Repository files navigation

General Info

This program was created to visualize path finding. It is written in Python. It uses pygame library for graphical interface. Currently there are three implemented algorithms:

  • Depth-first search (DFS)
  • Breadth-first search (BFS)
  • A* search algorithm (AStar)

Setup

Create virtual environment:

python -m venv env

Activate virtual environment:

source env/bin/activate

Install package:

pip install -e .

Now you can run it from this virtual environment:

./env/bin/path_finding_visualizer

You can specify size of tile (-s) and number of tiles (-n) in a row:

./env/bin/path_finding_visualizer -s 8 -n 51

Number of tiles (-n argument) must be an odd number.

For more informations type:

./env/bin/path_finding_visualizer --help

Below you can see how it works:

screen-gif

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages