Search algorithmsCTRL K

Pathfinding

· 9 algorithms · grid visualizer
Start with A* on the real map
// pathfinding

Pathfinding finds a route from a start to a goal through obstacles. It is BFS with a map: every GPS, every game unit and every robot runs a variant of it.

The eight algorithms differ in what they know: BFS knows nothing and floods evenly, Dijkstra knows the cost so far, A* also guesses the cost to go, so it heads straight for the goal.

A* on the real map
A* · Cascavel · OpenStreetMap
explored streets · opencurrentroutestart / goal

All algorithms

9
Each card runs its own algorithm