Breadth-first searchBFS
Dijkstra
A*

Wayfinding

Three searches, one map. Draw walls, drag the lantern and the door.