Gomoku vs. tic-tac-toe and Connect Four
Three games about making a line. They look related, but they play very differently.
Three games, one idea
In all three games two players take turns, and the first to complete a line wins. Tic-tac-toe needs three in a row on 3 × 3 squares. Connect Four needs four on a grid of 7 columns and 6 rows, and the discs fall to the lowest free space. Gomoku needs five on a board of 15 × 15 lines, and a stone can go on any empty point.
| Compared | Tic-tac-toe | Connect Four | Gomoku |
|---|---|---|---|
| Board | 3 × 3 squares | 7 columns, 6 rows | 15 × 15 lines |
| Spaces | 9 | 42 | 225 |
| Line to win | Three | Four | Five |
| Where you play | Any empty square | Lowest free space in a column | Any empty point |
| With perfect play | Draw | First player wins | First player wins (freestyle) |
Tic-tac-toe: a draw with correct play
Tic-tac-toe is a good first game for children, but with correct play it always ends in a draw. There are only nine squares, and after a few games both players know every trap. From then on the game is no longer a real contest.
Connect Four: gravity changes everything
In Connect Four you only choose the column; the disc drops to the bottom. That limits you to at most seven possible moves and makes the game quick to learn. It was solved in 1988, independently by James D. Allen and Victor Allis: with perfect play, the first player wins.
Why Gomoku goes deeper
Gomoku has 225 points instead of 9 or 42, and no gravity: every empty point is a legal move.
- More room: a game can grow anywhere on the board, and fights start in several places at once.
- Threats in four directions: every stone works across, up and down and on both diagonals, so one move can create two threats.
- Longer plans: a winning attack takes many moves to prepare, and a single forcing sequence can run across half the board.
The double threat
The typical winning idea in Gomoku is the double threat. A four-three makes a four and an open three with a single stone. Your opponent has to block the four, and the three then becomes an open four. Tic-tac-toe has a small version of this fork, but on nine squares it is easy to see coming.
The first-move advantage, and Swap2
In Gomoku the player who starts has a large advantage. Freestyle Gomoku on 15 × 15 has been solved: with perfect play, the first player wins (L. Victor Allis, 1993/1994). Humans never play perfectly, but the head start is noticeable.
That is why rated games on Hoshi start with Swap2. One player places the first three stones, and the other decides which colour to take, or places two more stones and hands the choice back. Whoever sets up the opening does not know which colour they will get, so they have to keep it balanced. Renju takes another route, with forbidden moves for Black; Hoshi does not play Renju.
Which game is right for you?
Tic-tac-toe is a fine way to explain the idea of a line to a child. Connect Four is a quick family game. If you enjoy reading threats and planning several moves ahead, Gomoku gives you that depth with rules you can learn in a minute. On Hoshi you can start with the first lesson or against a beginner bot.
Frequently asked questions
Is Gomoku just a bigger tic-tac-toe?
It looks like one, but it plays very differently. Tic-tac-toe always ends in a draw with correct play. Gomoku has 225 points, threats in four directions and long forced wins.
Is Gomoku harder than Connect Four?
The rules are just as simple, but there are far more possible moves. In Connect Four you choose one of at most seven columns; in Gomoku any empty point is a legal move.
Can Gomoku end in a draw?
Yes, if all 225 points are filled and nobody has five in a row. Most games end long before that.
Is Gomoku solved like Connect Four?
Freestyle Gomoku on a 15 × 15 board is solved: the first player wins with perfect play. Hoshi uses Swap2 in rated games so that both sides get a fair start.
Is Gomoku the same as Go?
No. Both use black and white stones on the points of a grid, but in Go stones are captured and territory decides. In Gomoku nothing is captured, and the first line of five wins.