gamelake

How to Play Gomoku: Rules of Five in a Row

In Gomoku two players take turns placing stones on the points of a 15×15 board, Black first. Stones never move and are never captured. The first player to get five stones in an unbroken row, across, down or diagonally, wins. If the board fills up with no five, the game is a draw.

Play Gomoku free

The board and the stones

Gomoku (五目並べ, gomoku narabe, "five pieces in a row" in Japanese) is played on the points where the lines cross, not inside the squares, just like Go. The usual board is 15 lines by 15 lines, so there are 225 points. One player has black stones and the other white; on GameLake the white stones are vermilion red.

  • Two players: Black and White.
  • Black moves first. Against Hops the colours swap after every game, so you take turns having the first move.
  • Play Gomoku online against Hops, a friend on the same device, or someone online.

How a turn works

  1. On your turn, place one stone of your colour on any empty point.
  2. Stones stay where they are for the rest of the game: no moving, no jumping, no capturing.
  3. Then it is the other player's turn. Passing is not allowed.

On a phone, GameLake shows your stone on the first tap and places it on the second, so a slip of the finger never puts a stone in the wrong place.

Winning: five in a row

You win the moment you have five of your stones in an unbroken line, in any of the four directions: across, down, or along either diagonal. A gap breaks the line: four stones, an empty point, then one more stone is not five.

Five black stones on the diagonal: Black wins.

GameLake plays freestyle Gomoku: six or more in a row (an "overline") also wins. Some tournaments play standard Gomoku, where only exactly five counts.

Draws

If all 225 points are filled and nobody has five in a row, the game is a draw. Between beginners this almost never happens: someone nearly always makes a five long before the board is full.

Gomoku variants

VariantWhat changes
Freestyle (GameLake)Five or more in a row wins. No restrictions.
Standard GomokuOnly exactly five wins; six in a row does not count.
RenjuBlack may not make a double three, a double four or an overline, to balance Black's first-move advantage.
Swap openings (Swap2)One player places the first stones, the other chooses which colour to play. Used in tournaments.
Five in a row on paperPlayed with X and O on squared paper with no edge, often called Gobang or, in Sweden, luffarschack.

Frequently asked questions

Who goes first in Gomoku?

Black always moves first. In freestyle Gomoku the first player has a real advantage, which is why GameLake swaps colours after every game.

Do you play on the squares or the lines?

On the points where the lines cross, like Go. A 15×15 board has 225 points.

Does six in a row win in Gomoku?

In freestyle Gomoku, as on GameLake, yes. In standard Gomoku only exactly five wins, and in Renju six in a row is forbidden for Black.

Can stones be captured in Gomoku?

No. Once placed, a stone stays where it is until the end of the game.

All game guides →