Skip to main content

Hex Connection

Build a continuous chain between your two matching edges. Every stone connects to its six neighbors; there are no captures or draws.

Decisions0

Turn: You

You · ○ Blue · top ↕ bottom

Computer · × Rose · left ↔ right

 

Swipe the board sideways to reach every cell. Arrow keys move focus.

Hex connection board

About Hex Connection

Hex is an abstract connection game on a rhombus of hexagonal cells. Each side aims for a different pair of edges, so blocking and building are part of the same decision.

This original browser implementation has 25, 49 or 121 playable cells, one-time color swapping, computer opponents and local pass-and-play. It is not a numbered-level puzzle.

How to play Hex Connection

  1. 01Blue circles connect the top and bottom edges. Rose crosses connect the left and right edges. Place one stone on an empty hexagon each turn.
  2. 02Stones share six possible neighbors. A placed stone stays there: it cannot move, change color or be captured.
  3. 03After the opening stone, the second player may swap colors and target edges instead of placing a stone. The opening stone stays in place, and the original first player takes the next turn. This choice is available once.
  4. 04The first connected chain wins immediately. Hex cannot end in a draw. Local two-player mode records a finished match; in computer mode the result is from your perspective.
  5. 05Choose 5×5 for a short introduction, 7×7 for more routes, or the classic 11×11 board. Large boards scroll inside the play area on small screens; cell sizes stay usable.
  6. 06Restart repeats the settings and computer seed. New match changes the seed. Settings start a new match. Undo returns to your last decision before any computer reply; local play removes one decision.

Hex Connection controls

Place a stone
Click or tap an empty cell. Arrow keys move focus by row or column, and Enter or Space places a stone. Occupied cells do not count as actions.
Swap or undo
The second player can choose Swap colors after the first stone. Undo removes a local decision, or your previous decision and its computer response.
Pause and resume
Pause stops input and computer replies. Hiding or unfocusing this page pauses the match until you resume. On a narrow screen, swipe the board sideways or move keyboard focus to reveal far cells.

Hex Connection: levels and progress

5×5 uses 25 cells for quick games. 7×7 has 49 cells and 11×11 has 121. These are board sizes, not generated levels or promised difficulty rankings.

Casual varies legal choices by seed. Tactical considers immediate connections and threats, then compares routes requiring the fewest empty cells. Change the first player or use two-player mode for different decisions.

Hex Connection tips and strategies

Build a bridge

Two stones can share two potential connecting cells. If the opponent fills one, the other may preserve your connection. Check the actual neighbors rather than diagonal square-grid intuition.

Watch both fronts

A chain can be long but still blocked from its last edge. Compare your two ends with the opponent’s route before extending.

Use the pie rule

Choose an opening you would accept from either side. If you are second, compare taking that stone’s color with keeping the other goal.

  • Balance your opening: the other player can choose to take its color.
  • Connect toward both edges while watching the opponent’s shortest route.
  • A bridge offers two possible connecting cells, but it is not an actual connection until you fill one.

Hex Connection FAQ

Is this the Hex Blocks puzzle?

No. Hex Connection is a turn-based connection board game. Hex Blocks fits pieces into a target shape.

Can I play with a friend online?

This version supports two players on one device and computer play. It has no remote rooms or matchmaking.

Does the computer always win?

No. Casual chooses legal moves with a seeded random strategy. Tactical checks immediate wins and blocks, then compares shortest connecting routes. It is a bounded heuristic, not a perfect solver.

Is progress saved?

A validated move history and pause state are saved in this browser when storage is available. No account or cloud save is used.

Why did my color change?

You or the computer chose the one-time opening swap. Seat labels and goal symbols update; the first stone remains unchanged.

What is the highlighted chain?

It is a path of genuinely adjacent winning stones between the matching edges, not a suggested move or shortest-solution claim.