Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 972 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 972 Bytes

PathfindingAStar

Pathfinding15 Pathfinding30

Translation of p5/javascript code from the CodingTrain channel into Windows Form with C#

Video tutorial

The main algorithm is inside the Form1.cs file. There are some modifications to make it work inside Windows Form (which makes you appreciate the p5 library even more with how it simplifies things)

Because we can move diagonally in any direction, the heuristic function is Euclidean distance which yields accepted running time. There are many other heuristic algorithms inside the source to be implemented and further developed.