Hex is a connection game where the only move is placing a stone on an empty hexagon. The board is a 9x9 diamond, and each player owns two opposite edges. The first to join their edges with an unbroken chain wins. It is a brilliant game for logic, because there are no draws and every stone both builds your path and blocks your opponent’s. This version from the PaperGames collection offers a computer at three levels and a local two-player mode.
Rules
Red moves first, then the players alternate. Each turn you place one stone of your color on any empty cell. Stones are never moved or captured.
Red tries to connect the top edge to the bottom edge. Blue tries to connect the left edge to the right edge. Every hexagon touches six neighbors, so a chain can twist and turn. The game announces the winner the moment a full chain exists, and a legend under the board reminds you which edges are yours.
Hex Controls
| Action | Keyboard | Mouse | Touch |
|---|---|---|---|
| Place a stone | Tab to the board, arrow keys to pick a cell, Enter to place | Click an empty hexagon | Tap an empty hexagon |
| Choose color and opponent | — | Pick Red or Blue and a level, then click "New game" | Pick Red or Blue and a level, then tap "New game" |
| Take back a move | — | Click "Undo" | Tap "Undo" |
| Give up | — | Click "Resign" | Tap "Resign" |
The math of no draws
Picture a full board. If Red has no top-to-bottom chain, then some line of Blue stones must cut across from left to right, and that line is a Blue win. This is a famous result in mathematics, related to a theorem about fixed points. It also explains the strategy: a good block is simply a good connection for the other side.
How to play well
- Open in the center. A central stone can reach either of your edges and is hard to cut off.
- Use bridges. Two stones with two shared empty neighbors cannot be split. Answer any intrusion by filling the other gap.
- Block from a distance. A stone placed far in front of an enemy chain stops it better than one right beside it.
- Avoid crawling along the edge. Edge stones do less than stones that threaten several routes.
- Watch the sharp corners. The two acute corners of the diamond often settle close games.
Practical Notes for Players
Games are short, often just a few minutes. Undo and Resign are always available, and the game is saved in your browser. For more line-building, try Gomoku or Four in a Row.
Tested and updated:













