Pipes · Solving guide

Pipes: two dead ends never meet

Most of a Pipes board falls to two questions: does this arm run into a wall, and does it meet an arm on the next tile? On some boards those questions stop working with a few tiles to go. Each remaining tile has two rotations, both of them fit their neighbours, and nothing seems to choose between them. The missing rule is about dead ends, the tiles with a single arm. Two of them can never point at each other. Here is a board where that rule is the only way to finish, and why the wrong finish looks so convincing.

Why two dead ends cannot join

A finished Pipes board is one network. Every arm meets an arm on the neighbouring tile, every tile is connected to every other, and there is no closed loop.

A dead end has one arm and nothing else. If it points at another dead end and that tile points back, the pair is joined, and both of them have used their only arm on each other. Nothing else can ever reach them. The two tiles are a finished network of their own, cut off from the rest of the board, which breaks the one-network rule.

So whenever two dead ends sit side by side, cross off the rotation that has either one pointing at the other. The rule holds anywhere on the board, and it matters most on a board with plenty of dead ends in a cluster. The only exception would be a board of exactly two tiles, which you will not meet.

The board

Four by four, sixteen tiles, shown scrambled. The whole top row is dead ends, and there are five in total. The board has exactly one solution, checked with the game's own solver and separately by trying every combination of rotations that keeps each arm on the board.

Start with the walls, as the earlier Pipes guide describes. The T-piece on the right edge of row 2 turns its gap to the wall. The straight on the right edge of row 3 stands upright and the straight in the middle of the bottom row lies flat. The elbow in the bottom-left corner points up and right.

A four by four Pipes board in its scrambled starting state. The whole top row is four dead ends. The second row is an elbow on the left, then two T-pieces, then a T-piece on the right edge. The third row is two elbows, a straight and a straight on the right edge. The bottom row is an elbow, a straight, an elbow and a dead end.
The starting board. Five dead ends, four of them along the top row.

Twelve tiles from matching arms

Now follow each settled arm to the tile it touches, since that tile must reach back. The flat straight on the bottom row points right, so the elbow beside it must point left, which leaves it pointing up and left. That elbow no longer points right, so the dead end in the bottom-right corner cannot point left and must point up.

Up the right side, the T-piece in row 2 points up, so the top-right dead end points down. Up the left side, the corner elbow points up, so the elbow above it must point down, and on the left edge that means down and right. It then points right into row 3 column 2, which must point left and cannot point down, because the flat straight below it has no arm going up. That settles it as up and left.

The elbow in row 3 column 1 does not point up, so the elbow in row 2 above it cannot point down: it points up and right. That sends the top-left dead end down. Finally the upright straight in row 3 column 3 is forced by the elbow below it, which points up.

That is twelve tiles. The last four sit in a square in the top middle: the two dead ends in row 1, columns 2 and 3, and the two T-pieces below them. Each still has two rotations, and every arm they could offer finds a partner.

The same board with twelve tiles turned into place and tinted green. Four tiles in the top middle are still in their scrambled positions and tinted yellow: the two dead ends in columns 2 and 3 of the top row, and the two T-pieces directly below them. Each of the four has two rotations left.
Walls and matching arms settle twelve tiles. The four yellow tiles each have two rotations left.

The deduction that finishes it

Look at what the four tiles need. Both T-pieces must reach down, because the tiles below them point up. The left T-piece must reach left and the right one must reach right, because their outer neighbours already point in. So the only open question is the middle: either the two T-pieces join each other, or they both reach up to the dead ends above.

If the T-pieces join each other, they have no arm left pointing up, so the two dead ends cannot point down. The left dead end cannot point left either, because the top-left dead end points down and has nothing to meet it. The same holds on the right. The only rotation left for each is to face the other. That is two dead ends joined, which we have just ruled out.

So the T-pieces do not join. Both reach up, the left one pointing up, down and left, the right one pointing up, down and right, and both top dead ends point down to meet them. The board is finished.

The solved board. All four dead ends on the top row point down. The two middle T-pieces in the second row now point up, down and outwards, left for the one in column 2 and right for the one in column 3. Every tile is part of one connected network with no loop.
The finished board. The four green tiles are the ones the dead-end rule decided.

The mistake: a finish where every arm meets

The wrong finish is easy to reach because it passes the check most players make by eye. Turn the two middle dead ends to face each other and the T-pieces to face each other, and every arm on the board meets another arm. Nothing points at a wall. Nothing points at an empty side.

The board is still not solved, and it fails twice. The two dead ends are a separate network. And because they have taken a join away from everything else, the remaining fourteen tiles close into a loop of eight tiles running round the lower middle of the board. A tree of fourteen tiles has thirteen joins; these fourteen have fourteen, so a loop is unavoidable.

If a board looks complete and the game has not accepted it, look for exactly this: a pair of dead ends facing each other, or a small ring of tiles. Either one means a join is in the wrong place.

The board finished the wrong way. The two middle dead ends on the top row point at each other and are highlighted in red; joined, they make a two-tile network cut off from everything else. The T-pieces below them now both point sideways, and eight tiles tinted red form a closed loop around the lower middle of the board.
Every arm meets, but the red pair is cut off and the tinted tiles form a loop.

Using it on a real board

When a board stalls, list the dead ends that are neighbours and cross off any rotation that makes one face the other. It is quickest to check whenever a wall or a settled tile leaves a dead end with two rotations, since the rule then often picks one outright.

The same thinking extends a little further. Any small group of tiles whose arms are all used up among themselves is a network of its own. A dead end joined to a straight joined to a dead end is exactly as cut off as two dead ends touching. The two-dead-end case is simply the one you can spot at a glance.

Pipes is timed, so a board you misjudge costs seconds rather than a wrong guess. Checking for facing dead ends before you rotate the last few tiles is usually quicker than hunting for the fault afterwards.

Put it into practice

Try an Easy Pipes Library puzzle and look for one deduction from this guide.

Play a Pipes board

Sign in or create an account to save your progress.

More to explore

Four Colour · Solving guide

Four Colour: start where three colours already meet

On a Four Colour board, a region that touches three different fixed colours has only one colour left. Colour it and the next region often corners itself the same way. An original five by five board where one such region settles four of the five open regions, checked by trying every possible colouring.

Read the guide →

Colour Fields · Solving guide

Colour Fields: a full field fences itself in

In Colour Fields, the moment a field reaches its number every square touching it has to take the other colour. An original five by five board where a 1, a 2, two 4s and a 7 each close in turn, checked by trying every possible colouring.

Read the guide →

Pairs · Solving guide

Pairs: a placed domino crosses out its copies

When a Pairs board stops giving you forced cells, look at the dominoes already placed. Each pair appears once, so every other place its digits touch is dead, and that can leave a cell with one partner. A worked example, checked against the game's solver.

Read the guide →

HubbardGames guide

Per-game standings: where you rank in one game

Tap a game's icon on the Board and you get a table for that game alone: today's field with results and hints, and an all-time table ranked on average points per day finished. Where it lives, what each column means, what it leaves out, and four invented Bridges days where the fastest player comes third.

Read the guide →