Shortest Path Finder using React
By - pai-cube
It isn't efficient, it takes longer paths a bunch...
The path cannot travel diagonally. Only 4 directions are allowed in the maze I have designed.
Even so, going diagonally, up, right, up, right would be less distance than what it picked.