Skip to content
Thinking Games
EN
Planning

Build Bridges: how to solve a hashiwokakero puzzle

Hashiwokakero, or hashi, is a puzzle of numbered islands. Each number says how many bridges touch that island, and when you finish, every island must be reachable from every other. You solve it by counting: how many bridges an island still needs against how many its neighbours can still take. This guide shows the four counts that matter.

The rules, as the app states them

Link every island with bridges that never cross.

  1. Tap the water between two neighboring islands, or drag from one to the other, to build a bridge. Tap again for a second bridge, and once more to remove them.
  2. An island’s number is the total number of bridges touching it. Bridges run straight across or straight down, and can’t cross each other or pass over an island.
  3. You win when every island has exactly its number and you could walk from any island to any other over the bridges.

What hashiwokakero is

The puzzle was first published in 1990 by Nikoli, the Japanese magazine that also made sudoku famous. The name means, roughly, "build bridges", and it is usually shortened to hashi, "bridge". In English it is simply called Bridges.

It mixes two kinds of rule. The numbers are local: each island only cares about its own bridges. The connection rule is global: the whole map has to end up as one piece. Easy puzzles fall to the numbers alone. Harder ones need both.

The rules in detail

  • Neighbours. A bridge joins two islands in the same row or column with only water between them. An island has at most four neighbours: the nearest island in each direction. It cannot reach past one island to the next.
  • Straight lines. Bridges run horizontally or vertically, never diagonally and never round a corner.
  • One or two. Two islands can share one bridge, two bridges or none. Never three.
  • No crossing. A bridge cannot cross another bridge.
  • The number. The bridges touching an island must add up to exactly its number. A double bridge counts as two, for both of its ends.
  • One group. At the end you must be able to walk from any island to any other over the bridges.

In Build Bridges you tap the water between two neighbouring islands, or drag from one to the other. The first tap builds a bridge, the second makes it double and the third removes both. If a bridge would cross one that is already built, the game will not place it until you remove the other. Two counters show your progress: how many islands have their exact number, and whether the map is All linked or still in separate groups.

Many pairs of neighbours end up with no bridge at all. That is normal, and working out which pairs stay empty is half the puzzle.

Where to start: islands with no choice

Give every island a capacity: two bridges for each neighbour. An island with two neighbours can hold four, with three it can hold six, with four it can hold eight. Then look for:

  • An island with a single neighbour. All of its bridges go that way. A 1 gets one bridge, a 2 gets a double.
  • A number equal to the capacity. A 4 with two neighbours, a 6 with three or an 8 with four needs a double bridge to every neighbour.

Corners and edges are where these turn up, because islands there have fewer neighbours.

Four deductions that solve most boards

1. Exactly what fits

Compare what an island still needs with what its neighbours can still take. If the two numbers are equal, there is no choice left: build all of them. The starting cases above are this rule on an empty board, and it keeps applying as the board fills.

2. At least one each way

Suppose an island needs more than its other neighbours could take even if you filled them completely. Then the remaining neighbour must get at least one bridge. A 3 with two neighbours is the classic case: one neighbour can take two at most, so the other gets at least one, and the same is true the other way round. Build a single bridge to both. A 5 with three neighbours and a 7 with four work the same way.

3. Capacity shrinks

Two bridges per neighbour is only the ceiling. A neighbour that is a 1 can take one. A neighbour that already has its number can take none. A line already crossed by a bridge is closed. Recount after every bridge you build: an island that was undecided a moment ago may now have exactly what fits.

4. Never close off a finished group

If a bridge would leave a set of islands all complete and linked only to each other, while other islands remain outside, the map could never become one piece. That bridge is ruled out. The smallest cases: two 1s that are neighbours never share a bridge, and two 2s never share a double, unless they are the whole puzzle. Ruling a bridge out lowers a capacity, and that often triggers deduction 1 or 2.

A 5×5 example, bridge by bridge

Six islands on a 5×5 sea.
242
12
1

The top row holds a 2, a 4 and a 2. The middle row has a 1 on the left and a 2 in the centre. A 1 sits at the bottom of the centre column.

  1. Top right 2. Nothing lies below it, so its only neighbour is the 4. Both of its bridges go there: a double bridge.
  2. Bottom 1. Its only neighbour is the 2 above it. One bridge.
  3. Top left 2: at least one. It has two neighbours, the 4 on its right and the 1 below. The 1 can take a single bridge, so at least one of the two must go to the 4. Build one bridge between the 2 and the 4.
  4. Top left 2: not a double. Could its second bridge go to the 4 as well? The 4 would then have 2 + 2 = 4 and be complete, and so would both 2s: three finished islands linked together, with the other three left outside for good. Ruled out. The second bridge goes down to the 1.
  5. The 4. It has three bridges and needs one more. Both of its neighbours in the top row are complete. Only the centre 2 below it is left. Build one bridge down.
  6. Check. The centre 2 now has one bridge up and one down. Every island has its number, and from any island you can reach the others. The left 1 and the centre 2 are neighbours and share no bridge.
The solution: single bridges and one double (═).
2─4═2
││
12
│
1

Step 4 is the one the numbers alone cannot give you. Counting allowed a double bridge there. Only the connection rule forbade it.

Common mistakes

  • Forgetting the connection rule. A board where every number is right but the map is in two pieces is not solved. Watch the group counter.
  • Counting a double bridge as one. It adds two to each of the islands it joins.
  • Looking past an island. Only the nearest island in each direction is a neighbour. A bridge never jumps over one.
  • Building a bridge because it is possible. One bridge that blocks a crossing line can make another island impossible many moves later. Build what is forced, then recount.

How the difficulty grows in the app

Build Bridges has 120 levels, each with exactly one solution. The first tutorial is three islands in a corner. The second has four and introduces double bridges. Easy levels are 5×5 with five to seven islands. In the first half every bridge is exactly what fits, the second half adds "at least one each way", and a few near the end need the finished-group rule. Medium levels are 6×6 and 7×7 with eight to eleven islands, and most of them need that rule. Hard levels are 7×7 and 8×8 with eleven to sixteen islands, and need it several times.

The hints use the same four deductions. Ask for one and the game highlights an island, tells you how many bridges it still needs and how many its neighbours can take, and, when a bridge is ruled out because it would close off a finished group, shows that line in red dashes. If a bridge you built makes the puzzle impossible, the hint points to it first. On some hard boards there are moments with no simple deduction available. The hint says so and gives one valid bridge.

If you like puzzles where numbers decide the shape, try Hidden Picture. For another one about joining points without crossing lines, see Link the Pairs.

Frequently asked questions

What does hashiwokakero mean?

It is Japanese for "build bridges". The puzzle is also called hashi, which means bridge, or simply Bridges. In Thinking Games it is called Build Bridges.

How many bridges can connect two islands in hashi?

At most two. Two islands can share no bridge, a single bridge or a double bridge, and a double counts as two for each island.

Do all the islands have to be connected?

Yes. Matching every number is not enough. All the islands must form one group, so that you could walk from any of them to any other over the bridges.

Do you have to guess in a bridges puzzle?

Rarely. Every level in Thinking Games has one solution, checked by a program, and most bridges follow from counting what an island needs against what its neighbours can take. On the hardest boards you sometimes have to look a move further ahead: suppose a bridge, and see whether it leaves an island without options.

More games in the collection