Go
A* pathfinding with fog in JavaScript. Click "Go" to see the algorithm run. The green square only discovers the map as it moves around and is not aware of walls until they are revealed. Refresh page for a new (random) map.