π BFS Shortest Path Demo (Unweighted Grid)
Click to set Start (π©) and End (π₯), then click the button to find the shortest path.
πΊοΈ Legend
- White β Regular, unvisited cell (open space, free road)
- Gray β Wall β blocked cell (impassable)
- Green β π© Start point (your first click)
- Red β π₯ End point (your second click)
- Blue β Shortest path found by BFS