Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/yovanoc/astar
- Owner: yovanoc
- License: mit
- Created: 2017-10-08T07:49:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-31T15:20:46.000Z (almost 7 years ago)
- Last Synced: 2023-02-28T08:32:51.075Z (almost 2 years ago)
- Language: C++
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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