/A-Star-Algorithm

This is a representation of the A* algorithm using C++ and the SDL library.

Primary LanguageC

A Star Algorithm

This is a representation of the A* algorithm using C++ and the SDL library.


You are free to use this as you wish.

How to use


1. Left click to set starting position 2. Right click to set end position 3. With the middle mouse button you can set obstacles
Once the starting position and the end position is set the algorithm will start the calculations and will draw the line from the starting position to the ending position.