javascript-astar
javascript-astar copied to clipboard
Reversed A Star?
Is it possible to reverse the algorithm to get the longest path?
interesting idea but with the way it values the cells, the path would just go backward and never arrive at your destination.
Actually it would eventually reach the destination filling the whole grid and result in the worst possible path :)