Skip to content

Visualization for "A*" pathfinding algorithm in a grid-based map developed with SFML, C++

Notifications You must be signed in to change notification settings

juanBalian35/A-star-C-11-SFML-implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of A star pathfinding algorithm in a grid-based map with C++ and SFML

Demostration

Tiles:

Red tile - Start

Orange tile - End

Black tile - Obstacle

White tile - Empty

Blue tile - Path

Controls:

Press 'S' to find path

Press 'D' to enable/disable diagonal movement

Press 'R' to randomize a map

Press 'C' to clear the last path

Click wherever you want to add an obstacle

Click on that obstacle to delete it

Click on the start Tile

Notes

Make sure to have the font provided at the media folder (it is at the root of the repository) in the same folder of your .exe

Releases

No releases published

Packages

No packages published

Languages