Gomoku rules: how to play five in a row
Gomoku — five in a row, also played as caro — is the game of placing stones until five of your colour stand in an unbroken line. Two players take turns putting one stone on a gridded board, and the first to line up five horizontally, vertically or diagonally wins. That is the whole core rule; the variants differ in a few details that are worth agreeing on before the first stone.
The basic rules
- Two players, one colour each — usually black and white, or X and O.
- The first player places a stone, then the players alternate, one stone per turn.
- Stones never move and are never captured; the board only fills up.
- The first player to form five in a row horizontally, vertically or diagonally wins immediately.
- If the board fills with no line of five, the game is a draw.
Free-style gomoku versus blocked-ends caro
In the casual Vietnamese caro rule a line of five does not count if both of its ends are already blocked by enemy stones. The rule exists to cut down the first player's advantage.
Free-style gomoku does the opposite: five in a row wins regardless of what sits at either end, and a line of six or more still counts. That is the rule the Chesslizar board uses — a 12 by 20 grid where five consecutive stones end the game.
Why moving first is an advantage
On an unbounded board, free-style gomoku is a proven first-player win — it was solved by computer in 1993. Tournaments therefore add a balancing rule.
The two common ones are Renju, which forbids the first player from making certain shapes such as double-three, double-four and overlines, and swap openings, which let the second player take the other colour after the opening stones. Friendly games rarely bother, but knowing they exist settles an argument mid-game.
Shapes you must recognise
- Open three: three in a row with both ends empty. Left alone it becomes an open four, which cannot be stopped.
- Open four: four in a row with both ends empty — a win, because only one end can be blocked.
- Closed four: four in a row blocked at one end; it still forces the opponent to answer at the other end.
- Double threat: one stone creating two threats at once, two open threes or a four plus a three. This is how most games are actually won.
Tips for beginners
Do not only block. Every defensive stone should also extend a line of your own, or you will just chase your opponent until the board runs out.
Play towards the centre: a central stone lies on four directions that can still grow, an edge stone on two. Opening in a corner is the classic beginner's loss.
Frequently asked questions
How many stones in a row do you need to win at gomoku?
Five of your colour in an unbroken horizontal, vertical or diagonal line. Some house rules play to four, but standard gomoku and the Chesslizar board both use five.
Does six in a row count as a win?
In free-style gomoku, yes. Under Renju rules an overline by the first player does not count as a win.
Does a line of five win if both ends are blocked?
It depends on the rule set. Under the blocked-ends caro rule it does not; under free-style — the rule Chesslizar uses — it does.
What board size is standard for gomoku?
Tournament gomoku and Renju both use 15×15. Chesslizar uses 12 columns by 20 rows so the board fits a phone screen held upright.
Can a game of gomoku end in a draw?
Yes, when the board is full and neither player has five in a row. It happens far more often on a small board than on a large one.
