The Greedy Best-First Search (GBFS) algorithm with the Manhattan distance heuristic is an informed search technique that prioritizes expanding nodes that are closest to the goal, measured by the straight-line distance between them (also known as Manhattan distance).
The Manhattan distance is calculated by summing the absolute differences in 𝑥 and 𝑦 coordinates between two points on a plane.
Where
python maze.py maze.txt