PacMan: what kinds of heuristics are mainly used?
You comment says you are looking for shortest path. This problem is a variation of TSP on a planar graph, and thus is NP-Hard. Possible heuristics function for A* that can solve the problem but is not admissible [thus the path found is not guaranteed to be optimal]: Sum of manhattan distances from all fruits to the agent. You can also use an … Read more