Hex vs ComputerFree, no sign-up

Claim hexagonal cells to connect your two sides of the board. There are no draws. Your record is kept only in this browser.

Your moves 0 Board 11×11 Record 0 W / 0 L

FAQ

How do you play Hex?

You and the computer take turns claiming one empty hexagonal cell at a time. You (Red) win by connecting the top and bottom edges with a chain of your cells; the computer (Blue) wins by connecting left and right. Pieces never move and are never captured.

Can the game end in a draw?

No. It's mathematically proven that when the board is full, exactly one player has connected their two sides. So stopping your opponent from connecting is the same thing as connecting yourself.

Any tips for winning?

Take the center, and use "bridges" (two of your cells placed diagonally with one gap between them). If the opponent takes one of the two cells between a bridge, you can reconnect with the other, so a bridge is effectively connected. It's faster than growing one cell at a time and much harder to cut.

How strong is the computer?

Every turn it calculates, for every cell, how many more cells each side needs to connect its edges, and plays where the difference is largest. It will stop a straightforward push, but it's weaker against two-way attacks built on bridges.

Why is there no leaderboard?

Hex is known to have a winning strategy for the first player, so competing for the fastest win against the same computer would turn into memorizing a sequence. That's why it's practice only. Your wins, losses and fewest-move win are saved in this browser.