Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yovanoc/astar

Implementation of A star pathfinding algorithm in a tile map with C++ and SFML
https://github.com/yovanoc/astar

Last synced: about 1 month ago
JSON representation

Implementation of A star pathfinding algorithm in a tile map with C++ and SFML

Awesome Lists containing this project

README

        

#Implementation of A star pathfinding algorithm in a tile map with C++ and SFML

##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