Gomokle / Gomoku rules
Gomoku rules
Gomoku takes a minute to learn. Two players take turns placing stones, and the first to line up five wins. This page covers the basic game and then the rule sets used in clubs, tournaments and apps.
The basic game
- The board is a grid of 15 by 15 lines. Stones go on the points where the lines cross, as in Go.
- Black plays first. After that the players take turns, one stone each.
- A stone stays where it is put. Nothing is moved or captured.
- The first player to get five stones in an unbroken row wins. The row can run across, down or diagonally.
- If the board fills up and nobody has five, the game is a draw.
Six in a row and the three rule sets
The basic rules leave one question open: what happens with six or more stones in a row, which is called an overline. The answer depends on the rule set.
- Freestyle: five or more in a row wins. This is the game most people learn first.
- Standard: exactly five wins. A row of six or more counts for nothing, for either player.
- Renju: White wins with five or more. Black wins only with exactly five, and has three kinds of forbidden move.
Why Black gets extra rules
Moving first is a big advantage. In freestyle on a 15 by 15 board, Black can force a win with perfect play, which was proved by computer in the 1990s. Renju and the Swap2 opening are two ways of making the game fair.
Renju: Black’s forbidden moves
In renju, Black may not play a stone that makes any of these shapes. White has no such limits, and can even win by leaving Black with a forbidden point as the only defence.
- Double three: one stone that makes two open threes at once.
- Double four: one stone that makes two fours at once.
- Overline: six or more black stones in a row.
Two things are still allowed. A stone that makes one four and one three, the four-three, is legal, and it is how Black usually wins. And a stone that makes exactly five always wins, even if it makes a forbidden shape at the same time.
In a tournament, Black loses the game by playing a forbidden move.
The Swap2 opening
Swap2 is the opening used at the Gomoku World Championship. It balances the start of the game and puts no limits on either player afterwards.
- The first player places three stones anywhere on the board: two black and one white.
- The second player then chooses. They can take Black, take White, or place two more stones, one of each colour, and hand the choice of colour back to the first player.
- From there the game goes on as usual, with White to move.
Whoever places the first three stones has to make a position that is fair to both colours, because the other player gets to pick.
Board sizes
The usual board has 15 by 15 lines. Many people play on a Go board of 19 by 19, and smaller boards are handy for learning. Gomoku Sensei has renju, freestyle and Swap2, on boards from 9×9 to 19×19.
A new Gomoku puzzle every day
The same puzzle for everyone. Three hearts. No sign-up.
Go to today’s puzzleGomoku Sensei
Gomoku Sensei has 550 puzzles, 110 of them free, a coach that goes over your games, and 13 computer opponents.
Free to download. No account.