Lesson 4 of 4 · Planning

Work backward from the last number

The guide and all zip lessons

The path must end on the last number, so that cell can be read in reverse: instead of asking where the path goes next, ask where it came from.

Find the empty cells beside the last number. If there is one, the path must arrive through it. Then ask the same question of that cell, and the one before it. A few steps back, the end of the route is fixed.

Then draw forward to meet it.

Example 1: Read the route back from the 8

Step 1 of 5

Eight cells left. Left or down? Look at the 8 first.

Eight cells are left and the path's end has two choices: left along the row, or down the edge. Start from the other end.

The 8 has one empty neighbour, the cell above it, so the path arrives from there. That cell can only be reached from its right, and so can the next one. Three steps back, the ending is fixed: the path finishes by running left along row 2 and dropping onto the 8.

So the path must not use that row yet. Stepping left now would run straight to the 8 and leave the right-hand cells empty. Down the edge first, through the 7, then back up to join the fixed ending.

Example 2: A corner fixes the whole left edge

Step 1 of 4

Eight cells left. The 7 is the finish.

The last number, 7, sits on the top row with one empty neighbour: the corner. A corner is crossed straight through, so the path reaches it from below.

Keep going back and the whole left column falls into place: the path climbs it from the bottom. To climb from the bottom it has to get there first, so it goes down to the 6 before turning up.

Try it yourself

Try the reasoning yourself. Choose an answer to see the explanation.

Seven cells are left and the path ends on the 10. Work out how the path reaches the 10, then draw the whole last stretch.

Use arrow keys to draw and Backspace to undo.

Drag from the path's end, or use the arrow keys.

How to spot it faster

  • Start reading backward when about ten cells are left, or sooner if the last number is in a corner or against a wall.
  • Count the empty cells beside the last number. One means the ending is fixed; follow it back until there is a choice.
  • Corners and walled cells near the finish fix more of the ending. Read them the same way.

Common mistakes

Running to the last number as soon as it is close

Reaching the last number ends the path. If any cell is still empty, the board is not solved.

Planning only forward

Near the end there are few cells and many of them have one way in. Reading from the finish is usually shorter than trying each turn.

Questions

Try it

On your next board, pause when the last number has one empty neighbour left and trace the ending back before you draw it.

Play solo Zip