For Educators · A* Pathfinding
A* Pathfinding for a chatbot
Built for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs. Simulate a chatbot live below — adjust the inputs and watch it respond, right in your browser.
Pathfinding (A* / Dijkstra)Live
grid search · draw walls
Controls
Drag on the grid to draw walls. A* uses a distance heuristic to head straight for the goal; Dijkstra explores blindly in all directions. Blue = start, pink = goal, green = shortest path.
Data Inspector
AlgorithmA*
Grid48×30
HeuristicManhattan
Governing equation
Reading this result: A* adds the Manhattan-distance heuristic to Dijkstra, so it aims straight at the goal and expands far fewer cells while still returning a shortest path.
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
Also for:StudentsResearchersEngineersHobbyists & MakersK-12 StudentsFirst RespondersGeneral version →
More with A* Pathfinding
Frequently asked questions
- Is this good for educators?
- Yes — this version of "A* Pathfinding for a chatbot" is framed for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.