Activity 01
Problem Solving: Paper Grid Pathfinding
Give student pairs a 6x6 grid on paper with obstacles marked. Students manually trace an A* search by calculating f, g, and h scores for each candidate cell on sticky notes. After finding the optimal path, they compare how many cells they evaluated versus a BFS approach on the same grid.
How do pathfinding algorithms navigate complex environments?
Facilitation TipDuring Paper Grid Pathfinding, walk the room to catch students who assign g(n) values incorrectly by miscounting steps or ignoring obstacles.
What to look forPresent students with a 5x5 grid, a start point, an end point, and a few obstacles. Ask them to manually calculate the g(n), h(n) (using Manhattan distance), and f(n) for the first three nodes A* would explore. Have them write down their calculations and the order of exploration.