When you type a destination into a map app, it shows you a route in a second or two. Children often assume the phone simply "knows" the way. In fact it compares roads and adds up their lengths, much like a person with a pencil would, only very fast.
This game lets children aged roughly 7 to 12 do the same job on paper. You draw a small town, your child looks for the shortest way through it, and along the way they discover why the road that looks shortest is not always the one that is.
Drawing the map
You need a large sheet of paper, a pencil and two colors of pens.
- Places: draw five small buildings and label them with pictures or words: home, store, park, library and school.
- Roads: join some places with lines. Not every place needs a road to every other place.
- Steps: on each road, draw a row of dots. One dot means one step. Children who are comfortable with numbers can write a small number instead.
For the first round, you can use the town below. Each line is one road and the number is how many dots to draw on it.
| Road | Steps |
|---|---|
| Home – School (one long straight road) | 9 |
| Home – Store | 2 |
| Home – Library | 3 |
| Home – Park | 4 |
| Store – Park | 1 |
| Store – Library | 2 |
| Store – School | 6 |
| Park – School | 3 |
| Library – School | 4 |
First challenge: from home to school
Ask your child to find the way from home to school with the fewest steps. They trace a route with a finger, count the dots, and write the total next to the map. Then they try another route and compare.
Many children go straight for the long road from home to school. It has no turns and goes directly there, so it looks quickest. But it has 9 dots. Here is what a few other routes give:
- Home – Store – School: 2 + 6 = 8 steps
- Home – Park – School: 4 + 3 = 7 steps
- Home – Library – School: 3 + 4 = 7 steps
- Home – Store – Park – School: 2 + 1 + 3 = 6 steps
The winner uses three roads and two turns, yet it has the fewest steps. That is the trap: the route with the fewest turns is not always the shortest. Let your child find this out by counting rather than telling them. When they do, color the winning route with the second pen.
Adding a stop on the way
Real trips often have a stop in the middle: posting a letter, picking up a book. Add a rule: "This time you must pass the library."
Now the old winner no longer counts, because it skips the library. Your child has to search again:
- Home – Library – School: 3 + 4 = 7 steps
- Home – Store – Library – School: 2 + 2 + 4 = 8 steps
The best route with the stop is 7 steps. Children notice that one extra rule can change the answer completely, and that the best route with a stop can be longer than the best route without one. Map apps face the same question when you add a stop to a trip.
How a map app finds the way
A real town has far too many routes to try one by one. Computers use cleverer methods. One of the best known works like this, and children can follow it on paper:
- Write 0 next to home. Next to every place you can reach from home, write how many steps it takes: store 2, library 3, park 4, school 9.
- Pick the place with the smallest number that you haven't finished yet. That's the store (2). Look at its roads. Through the store, the park is 2 + 1 = 3, which beats 4, so cross out 4 and write 3. School through the store is 2 + 6 = 8, which beats 9, so write 8.
- Now the smallest unfinished number is 3. Take the park first: school through the park is 3 + 3 = 6, which beats 8.
- Then the library (also 3): school through the library is 3 + 4 = 7, which doesn't beat 6, so nothing changes.
- The school's number is now 6, and nothing can lower it. Done.
The idea in one sentence: always keep the best number found so far, and only replace it with a better one. Map apps use methods built on this kind of thinking, with time or distance in place of dots, and they update the numbers when a road is busy or closed. Your child doesn't need the technical name. Being able to explain "I kept the smallest number and checked whether a new road beat it" is already the core of it.
Making it easier or harder
The ages below are a rough guide; every child is different.
- Around 7 to 8: four places and short roads with only a few dots each. Let your child count the dots aloud and compare two routes at a time.
- Around 9 to 10: five or six places, plus a stop that must be visited. Ask your child to draw a new road that would make a different route the winner.
- Around 11 to 12: use the "best number" method above, add a closed road ("the bridge is shut today") or a one-way road drawn with an arrow, and ask how the answer changes.
You can also swap roles: your child draws the town and you try to find the shortest route. Children enjoy setting a trap road and watching a grown-up fall into it.
In Dologi, the "Fewest steps" puzzle in the Math topic works the same way: your child draws a route from a house to a tree, where each road has a number of steps, and looks for the smallest total. Some versions add flowers that the route must pass on the way.
In short
- Draw a few places joined by roads, with one dot per step, and look for the route with the fewest steps.
- The route with the fewest turns is often not the shortest: count rather than guess.
- A must-visit stop changes the answer, just like adding a stop in a map app.
- Keeping the best number so far and replacing it only with a better one is the heart of how computers find routes.
Read more: How does the internet work? Explaining it to children with a message-passing game
