Astar on Graph

implementing a star algorithm for navigation in 10*10 array

I have implemented the A* algorithm for pathfinding in a 10x10 map. A* evaluates nodes based on a combination of the cost to reach the node from the start and a heuristic estimate of the remaining cost to reach the goal. By considering both the actual cost and the estimated cost, A* efficiently searches the graph, prioritizing nodes that are more likely to lead to the optimal path. This was visualized using matplotlib.