On this page
Hex is a game for two players on a rhombus of hexagonal cells. Red owns the top and bottom edges, Blue the left and right edges, and players take turns placing one stone of their colour. The first to join their two edges with an unbroken chain wins. According to the Wikipedia article on Hex), Piet Hein invented it in 1942, John Nash rediscovered it at Princeton in 1948 or 1949, and the traditional board is 11×11. Without a computer, you can prove that every game has a winner and that the first player can force a win.
Why can't a game of Hex end in a draw?
Fill every cell with red or blue. Two things are always true.
Both players cannot win. A red top-to-bottom chain and a blue left-to-right chain would have to cross. Hexagons that touch always share a whole edge, so crossing chains would need to share a cell, and a cell has one colour.
Someone must win. Suppose Red has no chain. Take every red cell connected to the top edge. The blue cells that hold this region back touch one after another, because hexagons never meet only at a corner, and they run from the left edge to the right edge. That wall is a blue winning chain.
In short, a wall that stops Red is a road for Blue. On a square grid this fails: if corner contacts count, both players can connect; if they do not, neither may. The Wikipedia article on Hex) records that Hein knew this no-draw property in 1942 and that Nash wrote up a proof around 1949.
In 1979 David Gale showed that the determinacy of Hex is equivalent to the two-dimensional Brouwer fixed-point theorem: every continuous map of a square into itself leaves some point where it started (Gale, The American Mathematical Monthly, 1979). If you have met Sperner's lemma and its triangle-colouring proof, it is a close cousin: a colouring fact that carries a continuous theorem.
How does Nash's strategy-stealing proof work?
Hex is finite, both players see everything, and it cannot be drawn, so one player has a winning strategy. The Wikipedia page on strategy-stealing credits Nash with inventing the argument in the 1940s, though he did not publish it. It shows the winner is the first player:
Suppose the second player has a winning strategy.
The first player places a stone anywhere, then follows that strategy as if they were second.
If the strategy asks for the cell the extra stone occupies, they play anywhere else.
An extra stone of your own colour never hurts in Hex, so the first player now wins.
Both players cannot have winning strategies, so the assumption was false.
Worked example: who wins on a 2×2 and a 3×3 board?
Label cells (row, column), with row 1 on Red's top edge. A cell (r, c) touches (r, c±1), (r±1, c), (r−1, c+1) and (r+1, c−1).
2×2. If Red opens at (1, 2), it touches the top and both bottom cells; Blue can block only one, so Red wins. If Red opens at (1, 1), Blue takes (2, 1), which touches both right-edge cells, and Red cannot cover both. So two of the four openings win, both on the short diagonal.
3×3. Red opens in the centre, (2, 2). It touches two top cells, (1, 2) and (1, 3), and two bottom cells, (3, 1) and (3, 2). Whenever Blue plays in one pair, Red takes the other cell of that pair and completes a chain.
This matches bigger boards: the Wikipedia article on Hex) reports that on every solved size up to 9×9, any first move on the short diagonal wins.
What is the swap rule, and how far has Hex been solved?
Because the first player can always win, Hex is normally played with the swap rule, also called the pie rule: after the first stone, the second player may take that opening as their own (Wikipedia)). So the first player aims for an opening close to even. On 2×2 it makes the first player lose: a winning opening is taken, a losing one kept.
The same Wikipedia article) reports an explicit first-player win on 7×7 by Jing Yang, Simon Liao and Mirek Pawlak in 2002, all 8×8 openings solved by Philip Henderson, Broderick Arneson and Ryan Hayward in 2009, and all 9×9 openings solved by Jakub Pawlewicz and Hayward in 2013. Stefan Reisch showed in 1981 that Hex is PSPACE-complete, so no efficient method for solving arbitrary positions is expected.
How can you use Hex to practise proofs?
Colour a 4×4 board at random and trace the blue-wall argument with a pencil.
Explain the 3×3 centre win to a friend, then test whether a corner opening also wins.
Ask what strategy-stealing proves for noughts and crosses, a game that can be drawn.
Compare Hex with games of hidden choices using how to solve a zero-sum game with mixed strategies.
If a term such as fixed point needs a clear definition first, the Fermi Concept Library explains concepts across physics, chemistry, biology, mathematics and computing. When a proof step will not come, the Fermi Problem Library has a step-by-step solver that explains the reasoning.



