Click flag. Click on dots to add white dots. Press space to run pathfinding algorithm. Not all maps have a path solution. Sometimes the algorithm doesn't work.
A prototype algorithm of finding a path from a start node to an end node while going around obstacle nodes, bounded in a node array. https://qiao.github.io/PathFinding.js/visual/