AnirudhDaya / A-Star-Visualization

Take a journey through A-Star's pathfinding with a visual guide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A-Star-Visualization

Take a journey through A-Star's pathfinding with a visual guide

Installation

  • Make sure you have latest python version
  1. Clone the repository to your local machine
git clone https://github.com/AnirudhDaya/A-Star-Visualization.git
  1. Change your current working directory to the repository
cd A-Star-Visualization
  1. Open the .py file in an IDE

  2. Run the python code

How to use

  • First set the start position
  • Second set the end postion
  • If you want , you can add obstacles in the way. One click, implies, a difficult to traverse cell but it can take that pat, two clicks implies impenetrable obstacle
  • Press space to start visualizing
  • Press c to reset the grid

About

Take a journey through A-Star's pathfinding with a visual guide


Languages

Language:Python 100.0%