Hashiwokakero rules require every numbered island to have exactly its printed number of bridge lines, with no crossings and all islands joined in one connected network. Hashiwokakero, also known as Hashi or Bridges, is a Japanese logic puzzle in which every clue, placement restriction, and connectivity condition must be satisfied together.

These rules follow Nikoli’s official Hashiwokakero description and the independent Bridges documentation from Simon Tatham’s Portable Puzzle Collection. In practical terms, a convincing-looking chain is not enough: the lines must form one legal system rather than several disconnected groups.

hashiwokakero rules
Hashiwokakero Rules: Build a Valid Bridge Network

The complete rule set

Every island number describes an exact bridge degree, meaning the precise number of bridge lines that must touch that island. The following conditions apply simultaneously to a completed Hashiwokakero board.

Rule Required condition What it prevents
Island totals Each island touches exactly the number of bridge lines shown on it. Underfilled or overfilled islands
Allowed endpoints A bridge joins the nearest visible islands in the same row or column. Bridges that skip an island or connect unrelated positions
Bridge quantity There may be zero, one, or two bridge lines between an eligible pair. A third bridge between the same islands
Crossings Horizontal and vertical bridge segments may not intersect. Crossing bridge lines
Intermediate islands A bridge may not pass through another island. Bridges that run directly through numbered cells
Connectivity Every island must be reachable from every other island through active bridges. Separate completed groups

These are cumulative requirements. A board can satisfy one condition perfectly while still failing another, so a complete-looking chain should not be treated as solved until all six rule groups have been checked.

A bridge cannot be drawn between any convenient pair of numbers. It must connect the nearest visible islands directly aligned in a row or column, with no island between them. This restriction gives the puzzle its network-building structure and prevents long bridges from bypassing important clues.

  • Direction: Bridges are horizontal or vertical; diagonal connections are not allowed.
  • Capacity: The same eligible pair can hold one bridge or a double bridge, but never three lines.
  • Crossing: A horizontal bridge and a vertical bridge may not occupy the same intersection.
  • Passage: A bridge stops at an island and cannot continue through it to a more distant island.

When evaluating a possible line, check its endpoints, its geometry, and its effect on the network separately. A bridge may contribute a needed line to both islands while still creating a crossing elsewhere or leaving another island outside the main network. Endpoint totals alone therefore cannot certify a solution.

Play the six-island board by keyboard

  1. Open the Hashi Bridges Puzzle. Its fixed ladder board has six islands on a five-by-five field: the top-left and top-right clues are two, the middle pair are three, and the bottom pair are two.
  2. Use the arrow keys to move through the board. Navigation selects the nearest aligned island in the requested direction, and the island you leave becomes the bridge anchor.
  3. Move to the intended partner island. The new island becomes the current selection, and the connection is eligible only when both islands are in the same row or column and no island lies between them.
  4. Press Space or Enter to cycle the eligible connection. The states run from no bridge to one bridge, then two bridges, and finally back to no bridge.
  5. Watch the degree shown for both endpoint islands. If a change pushes an island above its printed clue, the game immediately reports a contradiction; cycle the same connection again to recover from the overfilled state.
  6. Before considering the board complete, confirm that every clue has an exact total, no horizontal and vertical segments cross, and all six islands can be reached from the first island. The interface freezes only after these conditions are all satisfied.
  7. Use Restart when you want to clear the current arrangement and replay the same deterministic board from the beginning.

The complete board can be played without a mouse. Each island exposes its clue and current bridge degree to assistive technology, while the selected island receives a visible outline. The bridge lines are rendered with text glyphs inside the grid, so no canvas, external image, sound, or precise pointer positioning is required.

Why a nearly finished board can still be wrong

Matching all the island numbers settles only the clue totals. Several common-looking arrangements still fail the complete Hashiwokakero rules:

  • Separate networks: Every island may have the right number of lines while belonging to an isolated chain.
  • A crossing: All endpoint totals can match even though two bridge segments intersect.
  • An illegal connection: A line might join non-aligned islands or pass through an intervening island.
  • Too many lines: An eligible pair may have accumulated a double bridge when only one line was required.

Connectivity is best understood as reachability. Start at any island and follow its bridges from island to island. If even one island cannot be reached, the network is not complete, no matter how balanced the local clue totals appear. The same principle applies in reverse: a connected arrangement still needs exact degrees and legal geometry.

What the game validates automatically

The browser records each allowed island pair as having zero, one, or two bridge lines. Every change recalculates the bridge degree of all six islands. Active bridges are also used to construct an adjacency graph, which is traversed from the first island to check whether every other island is connected.

Separate geometry checks examine horizontal and vertical segments for interior intersections. A board is marked complete only when all clue degrees are exact, the graph is connected, and no crossing exists. Overfilling a clue produces an immediate contradiction, but that state is recoverable because the offending connection can be cycled again. The puzzle does not lock or freeze until a correct completion.

These checks mirror the core Hashiwokakero constraints rather than adding a new win condition. Matching the clues, avoiding crossings, and joining the entire board remain the three decisive goals.

Scoring, restart, and the fixed-board limit

The score equals 100 times the active bridge-line count, and a double bridge contributes two active lines. The intended solution uses seven single bridges, so its score is shown by this calculation: 100 × 7 = 700 points.

The 100-points-per-bridge score is a Lizely choice for this game, not a universal Hashiwokakero scoring standard. The same applies to the six-island layout and its difficulty. This implementation is limited to one deterministic ladder board rather than a general library of selectable or downloaded levels.

Restart clears all bridges, moves, selection history, score, and completion state. A best completed score may be stored only in the browser’s localStorage; it is not uploaded or connected to an account. For the privacy screen, pressing Escape twice within 400 milliseconds opens the shared simulated-spreadsheet boss screen, and repeating the sequence returns to the puzzle.

Final rule audit

Use this checklist before declaring any Hashiwokakero board finished:

  • Every island touches exactly the number of bridge lines printed on it.
  • Every bridge joins the nearest visible aligned islands.
  • No pair contains more than two bridge lines.
  • No bridge crosses another bridge or passes through an island.
  • Every island belongs to the same connected network.
  • The final arrangement contains no unresolved contradiction.

If all six checks pass, the arrangement satisfies the Hashiwokakero rules. In Hashi Bridges Puzzle, a correct arrangement is recognized automatically; otherwise, revise the relevant connection instead of assuming that balanced-looking clues are enough.