PATHFINDING

Controls

Enter - Execute algorithm

1 - Draw walls

2 - Remove

3 - Set starting point

4 - Set ending point

W - Randomly place walls

C - Clear grid

F1 - Breadth-first algorithm

F2 - Best-first algorithm

-/+ - Change algorithm speed

Algorithm