/Pathfinding

A simple visualization of A* shortest pathfinding algorithm, using C++ and SDL2 library.

Primary LanguageC++

Pathfinding

A* shortest pathfinding visualization.

Written by SilverbossTD (duycntsilverboss@gmail.com).

Language: C++.

Library: SDL2.

Basic Controls

Create "Nodes":

  • Start: press 1 + left click.
  • End: press 2 + left click.
  • Wall: press 3 + left click.

Delete "Walls":

  • Press 3 + left click on the wall.

Start finding:

  • Press "Enter".

Clear the map:

  • Press "ESC".

Demo

demo