Hex

Build an unbroken chain between your two sides - someone always wins

You
Red · Left ↔ Right
AI
Blue · Top ↕ Bottom
Your turn - connect left and right
How to Play Move: 0

How to Play Hex

Hex is played on an 11x11 board of hexagons slanted into a rhombus. You play the red stones and own the left and right edges; the AI plays blue and owns the top and bottom. Red moves first. On your turn, place one stone on any empty hexagon - stones never move and are never captured. The first player to build an unbroken chain of their own stones linking their two edges wins immediately.

What makes Hex remarkable is that a draw is mathematically impossible: once the board fills up, exactly one player must have a connection. Every stone you place does double duty, because a stone that extends your chain also stands in the way of your opponent's. Competitive Hex often uses a "swap rule" to offset red's first-move advantage; this version plays without it, so make that first move count.

Strategy Tips

Read the full Hex guide →

Playing Hex on PlayVersusAI

Hex is played on an 11x11 rhombus of hexagonal cells. One player connects the left and right edges, the other connects top and bottom, and players take turns filling any empty cell. Nothing is captured and nothing moves.

Hex has a property almost no other game has: it cannot end in a draw. It is mathematically impossible to fill the board without one player having completed a connection, which means every single game has a winner. The strategic consequence is that blocking your opponent and building your own path are the same activity — there is no third option and nowhere to hide.

What's on This Page

Easy extends its own chain and blocks only direct threats. Medium understands bridges. Hard uses bridge connections and virtual connections properly, meaning it treats two cells as already joined when they cannot be severed. AI Training plans full-board paths and defends by threatening to connect elsewhere.

Mistakes That Lose Games

Hex Questions

Can a game of Hex end in a draw?
No, never. It is mathematically proven that once the board is full, exactly one player must have a completed connection. Every game produces a winner.
What is a bridge?
Two of your stones placed two cells apart, sharing two empty neighbours. It functions as a connection because if your opponent takes one of the shared cells, you simply take the other. Playing bridges instead of adjacent stones effectively doubles your speed across the board.
Does the first player have an advantage?
Yes, and provably so — the first player wins with perfect play. This implementation does not use the swap rule that tournaments apply to offset it, so expect going first to be genuinely easier.

For the complete rules, the deeper strategy and the history of the game, read the full Hex guide, or browse guides for all 20 games.