Practice free →
Home › Per Red Blob Games, for a 4-direction grid (no d…

Per Red Blob Games, for a 4-direction grid (no diagonal), the standard heuristic for A* is which?

AChebyshev max(|Δx|,|Δy|)
BCosine similarity
CManhattan distance |Δx| + |Δy|
DEuclidean √(Δx² + Δy²)
Answer & Solution
Correct answer: C. Manhattan distance |Δx| + |Δy|
Red Blob Games Heuristics: on a 4-direction grid, Manhattan = |Δx| + |Δy| is the exact shortest path on an obstacle-free grid.
Solve this in the app — Practice practice & 24k+ MCQs →
Related questions