A* pathfinding in JavaScript. Click "Scan for path" to run the A* algorithm. Shaded tiles have been scanned and additionnal info can be had by clicking on them. Click "Draw path found" to see the most cost effective path. Refresh to generate a new (random) map.