Best Free Hex

Connect the top and bottom edges with an unbroken chain before the computer links its sides.

You play red. Click any empty cell to place a red stone. Build an unbroken chain of red linking the top edge to the bottom edge before the computer links the left edge to the right edge with blue. Cells touch six neighbours and there are no draws in Hex.

Level 1 press P to pause
Love Best.Free? Share it

How to play

  1. Place a red stone. Click any empty cell to drop one of your red stones. You move first.
  2. Build your chain. Link your stones from the top edge toward the bottom while cutting off the computer’s left-to-right path.
  3. Connect your edges. Form one unbroken chain of red joining the top and bottom edges to win — there are no draws in Hex.

About Hex

Hex is the classic two-player connection game invented independently by Piet Hein and John Nash. It is played on a rhombus of hexagons — 11×11 here, smaller on easy. You play red and try to build an unbroken chain of your stones linking the top edge to the bottom edge; the computer plays blue and races to link its left edge to its right. Each cell touches six neighbours, so chains can wind in any direction. A remarkable property of Hex is that it can never end in a draw: when the board fills, exactly one player has connected their sides. Pick a difficulty. No signup, no download.

Frequently asked questions

Players take turns placing one stone on any empty hexagon. You play red and move first; the computer plays blue. You win by forming an unbroken chain of your colour that links your two opposite edges — top to bottom for you, left to right for the computer.

No. It is mathematically impossible to draw in Hex: once every cell is filled, exactly one player has connected their two sides.

Easy uses a smaller board and plays casual moves. Normal evaluates the shortest connection path for both sides and plays the move that best shortens its own route while lengthening yours. Hard adds a short look-ahead over its strongest candidate moves.

Yes. The first player has a theoretical winning strategy on an empty board, which is why competitive Hex often uses a swap rule. In this version you always move first.

Yes. Tap an empty cell to place a stone; the rhombus board scales to fit your screen on phones and tablets.

Completely free, with no signup, no download and no paywall — it runs entirely in your browser, and nothing is uploaded.

No. Hex works with no signup at all; an optional free account only exists to unlock higher usage limits.

Usually just a few seconds for a typical file — Hex starts working the moment you give it your input.

Your input is processed in memory and never stored, so nothing is left behind once you have your result.

Casual use is unlimited, under a generous fair-use cap that keeps it fast for everyone.

← All games

Rate this page
5.0/5 (0)

What could we improve? Your feedback helps us fix issues.