Play Hex Online
Also known as: Con-tac-tix, Polygon, Nash, John
Connect your two edges on a board of hexagons. Invented by Piet Hein and John Nash.
How to Play Hex
Objective
Red tries to connect the two red edges and Blue the two blue edges with an unbroken chain of their own hexagons. On a phone held upright the board is drawn upright too, so Red’s edges are at the top and bottom.
Rules
Red always starts. On your turn, tap an empty hexagon to make it yours. Every hexagon touches six others, so chains can bend in many directions. The game can never end in a draw.
History of Hex
Polygon (1942)
The Danish poet and mathematician Piet Hein invented the game. In December 1942 it appeared in the Danish newspaper Politiken under the name Polygon.
John Nash (1948)
In 1948 John Nash, then a graduate student at Princeton, came up with the same game independently. Students in the mathematics department played it and called it Nash or John.
Hex (1952)
In 1952 Parker Brothers published it as Hex. Martin Gardner introduced it to a wide audience in his Scientific American column in July 1957.
No draws, but no recipe
A game of Hex can never end in a draw: when the board is full, exactly one player has connected their edges. Nash proved with a strategy-stealing argument that the first player can always win, but the proof does not say how. That is why serious games use the swap rule.
Computers and Hex
In the 1950s Claude Shannon and Edward F. Moore built an analogue machine that played Hex by measuring currents in a network of resistors.
Today the game is solved only on small boards: researchers at the University of Alberta solved every opening up to 9×9 by 2013. The standard 11×11 board is still unsolved, so this app’s computer plays by estimating rather than calculating.