Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 552 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 552 Bytes

pathfinding-cpp

Learning CPP and SFML by implementing the A* pathfinding algorithm and visualizing it.

Instructions:

Run the executable in the "A star pathfinding" folder

Controls:

  • Left mouse button - draw obstacles on the grid
  • Right mouse button - place the starting position
  • Middle mouse button - place the end position
  • Left Shift + Left mouse button - erase cell
  • Cyan button at the bottom of the screen - display shortest path
  • Green/Red button at the bottom of the screen - toggle diagonals in the path