How to Play Hex

Objective: Connect your two opposite sides of the board with an unbroken chain of your pieces before your opponent does.
Green Player connects the Top-Bottom edges of the board (top-left to bottom-right).
Blue Player connects the Left-Right edges of the board (top-right to bottom-left).
Turns: Players alternate placing one piece per turn. There is no capturing — placed pieces stay forever.
Connectivity: Each hex cell connects to its 6 neighbors. Diagonal adjacency does NOT count.
No Draws: Hex is a proven no-draw game. One player ALWAYS wins!
Move 0
Player 1
Player 2
Green's turn — connect top to bottom
Top ↔ Bottom
Left ↔ Right

Play Hex Online for Free

Hex is a two-player connection game played on a board of hexagons. Each player owns a pair of opposite sides, and the first to join their two sides with an unbroken chain of their own pieces wins. There are no captures, no dice and no draws, so every game ends with a winner.

This free version lets you play against the computer on three difficulty levels or against a friend on the same device, on 7×7, 9×9 or 11×11 boards. It runs in your browser with no download or sign-up, on desktop, tablet and phone.

The game was invented by the Danish mathematician Piet Hein in 1942 and independently rediscovered by John Nash at Princeton in the late 1940s. Parker Brothers sold a version called Hex in 1952, and the name stuck.

Hex Rules

  1. Take turns placing one piece. On your turn, put one piece of your colour on any empty hexagon.
  2. Pieces never move. There is no capturing. Once placed, a piece stays where it is for the rest of the game.
  3. Each hexagon touches six neighbours. Two pieces are connected if their hexagons share an edge.
  4. Connect your sides. Green must link the top and bottom edges. Blue must link the left and right edges.
  5. The first complete chain wins. The winning chain lights up on the board.

Green moves first. Hex can never end in a draw. When the board is full, exactly one player has a complete connection, and whenever you block your opponent, you are also building your own path.

How to Play Here

  1. Choose a mode. Pick vs Computer or 2 Players. Against the computer, choose Easy, Medium or Hard.
  2. Choose a board size. 7×7 is quick, 9×9 is the default, and 11×11 is the traditional size.
  3. Press Start Game and click any empty hexagon to place a piece.
  4. Watch the status bar. It shows whose turn it is and which sides they need to connect, and the move counter tracks the number of moves.

In vs Computer mode you are Green and move first, and the computer plays Blue. The restart button starts a new game, the home button returns to the menu, and a How to Play page on the menu repeats the rules. There is no undo.

Playing Against the Computer

How each computer difficulty chooses its moves
LevelHow it plays
EasyPlaces pieces on random empty cells
MediumWins if it can, blocks your winning move, and otherwise builds along a path of bridges
HardWins if it can, blocks your winning move, and otherwise tests moves with random playouts to pick the most promising one

Hex has no swap rule in this version, so the first player has a natural advantage. As Green you move first, which gives you an edge, but the computer plays a solid blocking game on the higher levels.

Hex Strategy and Tips

Take the centre

Central cells are close to every edge, so they give you the most paths. If you move first, the centre is the strongest opening. Strong first players have long favoured it.

Use bridges

Two pieces separated by one gap, so that they share two empty neighbouring cells, are connected by a bridge. If your opponent plays in one of those cells, you play in the other. Bridges let you cover ground quickly without leaving your chain open to a cut.

Think of your path and theirs

Each move should both extend your chain and make life harder for your opponent. Because every move on the board matters to both players, the best moves are often ones that do both jobs.

Block from a distance

Blocking right next to an opponent's piece usually lets them walk around you. Block a few cells ahead of their chain, so that they have to detour or spend moves to get past.

Watch the edges

Near your own edge, a piece on the second row can connect to the edge with a bridge-like shape. You often do not need to reach the edge yet, only keep that option open.

Look for the shortest path

Imagine the shortest chain still open to you, and the shortest still open to your opponent. If theirs is shorter, you need to block now. If yours is shorter, extend it.

Hex FAQ

Is Hex free to play here?

Yes. There is nothing to download and no account to create.

Can a Hex game end in a draw?

No. Because of the shape of the board, one player always completes a connection. This is a proven property of Hex.

Who has the advantage?

The first player. It has been shown that on a square board, the first player has a winning strategy, although for large boards nobody knows exactly what it is. Many real games use a swap rule to even things out, but this version does not.

Which sides do I connect?

Green connects the top and bottom edges. Blue connects the left and right edges.

Can pieces be captured or moved?

No. Pieces stay where they are placed.

Can I play Hex with a friend?

Yes. Choose 2 Players and take turns on the same device. There is no online matchmaking.

Which board size should I pick?

7×7 for a fast game, 9×9 for a balanced one, and 11×11 for the traditional experience.

Does Hex work on a phone?

Yes. Tap an empty hexagon to place a piece. The board resizes to fit your screen.

More Board and Strategy Games

If you like connection and territory games, try Othello, Pentago, Isolation, Lines of Action, Abalone, Connect Four or Ataxx. All of them play free in your browser.

Browse all Venjex games
Green Wins!
Connected top to bottom