Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 932 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 932 Bytes

MazeFinder

MazeFinding Algo

python-astar

This is a simple implementation of the a-star path finding algorithm in python

You should have Python and pygame installed. if not then do the following:

Installation

  1. Start by opening a command line. You can do this by pressing the windows key and then typing cmd and then pressing enter.
  2. Put in the following code into the command line:
python -m pip install pygame

Usage

After that you can import it using

import pygame 

Now you can

  1. Clone the repo
  2. Run it in any code editor(SublimeText Recommended).
  3. Build the project ( In case of Sublime Text it is CTRL+B )
  4. Use your mouse to place the starting point and ending point
  5. You can also place walls if you want.
  6. Press SPACE BAR for the algo to work and find you the shortest path.
  7. Press C to reset and go as many times you want .:)

Archisman Bhaumik

18UCS018