Process

Pathfinding

You might say: A star, A*, route search, graph search

A graph search that chooses a sequence of connected locations from a start to a goal.

What it does
Provides a route for movement while trading path quality, search time and map detail.
Ask
What graph is being searched, what counts as a good path, and when is the search allowed to stop?
Trouble
No route is found despite a connection, the route is optimal only for the wrong graph, or the search starves other AI work.

What to look for

  1. An open frontier or explored-node overlay
  2. A route line made from graph nodes and edges
  3. A fallback or partial route when the search budget ends

Sources

  1. Amit Patel, Introduction to the A* Algorithm, Representing the mapGraph search algorithms let us find the shortest path on a map represented as a graph.
  2. Amit Patel, Introduction to the A* Algorithm, The A* algorithmThe A* algorithm uses both the actual distance from the start and the estimated distance to the goal.

Use it on your project

teardown-apply: hold "Pathfinding" (pathfinding) from the teardown at https://teardownatlas.com/game-ai/ against my project

Paste it into a coding agent that has the teardown skills.

An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal