How to play

How to Play Gomoku: Rules, Winning Lines & Tips

Updated 2026-11-07 · Gomoku (Five in a Row / Caro)

How to Play Gomoku: Rules, Winning Lines & Tips

To play Gomoku, two players take turns placing one stone on an empty intersection, with Black moving first. The first player to make an unbroken line of five stones horizontally, vertically or diagonally wins. Variants differ on whether six or more in a row counts and whether a blocked line still wins.

▶ Play Gomoku (Five in a Row / Caro) free →

Gomoku is a two-player strategy game where you place stones on a grid and try to be first to connect five in an unbroken row. This guide covers how to play Gomoku from the first stone to the winning line, including the three rule sets you will meet and the mistakes beginners make most often.

The game is known as Caro in Vietnam, 五目並べ in Japan and 오목 in Korea. The rules fit in a few sentences, but the strategy goes surprisingly deep. You can try everything below in our free browser version of Gomoku (Five in a Row / Caro) on 1990s.games.

Quick answer: the rules in 30 seconds

  • Two players, Black and White, take turns.
  • On each turn you place one stone on an empty intersection of the grid.
  • Black moves first.
  • Stones are never moved or captured once placed.
  • Make an unbroken line of five of your stones, horizontally, vertically or diagonally, and you win.
  • If the board fills up with no winner, the game is a draw.

That is all of the core gomoku rules. The details that change from one rule set to another are how long your line may be and whether the ends of it must be open. Those are covered in the special rules section below.

Setup and components

Gomoku needs only a board and two sets of stones.

The board

The game is played on the intersections of a grid, not inside the squares. This is the same style of board used for Go. Our version offers three sizes:

Board sizeFeel
9×9Short, tactical games; good for learning
13×13A balanced middle ground
15×15The standard size, with the most room to maneuver

If you are new, start on 9×9. Fights begin sooner, and you learn to spot threats quickly. Move up to 15×15 when you want longer, more strategic games.

The stones

One player takes black stones and the other takes white stones. In a physical game you need plenty of each, since a long game on a 15×15 board can fill a large part of the grid. In the browser version the stones are handled for you, and you can play against the computer or a friend.

How to play Gomoku, turn by turn

Step 1: Black opens

Black places the first stone. Most players start in the center, because a central stone has the most possible lines running through it in every direction. A stone in a corner can only build lines in a few directions, so it has far less potential.

Step 2: Players alternate

White places a stone next, then Black, and so on. Each turn is exactly one stone on any empty intersection. You may not pass, skip a turn or move a stone you have already placed.

Step 3: Build while you block

Every turn has two jobs. You want to extend your own lines toward five, and you want to stop your opponent from doing the same. Good players make moves that do both at once, for example placing a stone that blocks a White line and also adds to a Black line.

Step 4: Check for five

After every move, look at all four directions through the stone you just placed: across, up and down, and both diagonals. If you have created a qualifying line of five, the game ends immediately. Our version highlights the winning line so you can see it.

How you win, and how the game ends

You win by being the first to make a line of five of your own stones with no gaps and no opposing stone in between. The line can run in any of the four directions.

The game can end in two ways:

  1. A win. One player completes a valid line of five.
  2. A draw. Every intersection is occupied and neither player has a winning line. Draws are rare on a large board but more likely on a small one such as 9×9.

Special rules and edge cases

This is where “five in a row” gets more specific. Our site offers three rule sets, and the one you choose changes what counts as a win. Knowing the difference matters when you read other gomoku game rules online, because different sources describe different variants.

Freestyle

In freestyle, five or more stones in a row wins. If you accidentally connect six or seven, that still counts. This is the simplest version and the default on our site.

Exact five

Under the exact-five rule, your line must be exactly five stones long. A line of six or more does not count as a win. This makes you careful about joining two shorter lines through one empty point, since doing that could produce an overline that does not win.

Caro (the Vietnamese rule)

Caro uses the exact-five idea and adds a condition about the ends of the line. Your line needs to be exactly five stones, and it must not be blocked at both ends by your opponent’s stones. If an opposing stone sits at one end only, you can still win. If opposing stones cap both ends, the five does not count.

One detail often surprises new players: the edge of the board does not count as a block. A line of five sitting against the edge of the board is still a win as long as the other end is not sealed by an opponent’s stone.

You can try this version on our dedicated Caro page.

Which rule set should you pick?

Rule setWhat winsBest for
FreestyleFive or more in a rowLearning the game
Exact fiveExactly five in a rowPlayers who want less forgiving endings
CaroExactly five, not blocked at both ends by the opponentFans of the Vietnamese game

No Renju restrictions here

In some tournament versions of the game, Black is limited by extra restrictions such as the 3-3, 4-4 and overline bans, usually grouped under the name Renju. Our version does not apply those. Both players can play any empty point, which keeps the rules easy to learn.

Basic strategy to start with

Once you know how to play Gomoku, a few ideas will quickly improve your results.

  • Take the center early. More central stones mean more possible lines.
  • Make open threes. Three stones in a row with open space at both ends is a real threat. If it grows into an open four (four in a row with both ends open), your opponent cannot block both ends.
  • Force with fours. A four with one open end demands an immediate answer. Use these forcing moves to steer where your opponent’s stones go.
  • Build double threats. If one stone creates two threats at once, such as two lines that both need blocking, your opponent can only answer one. Setting up these double threats is how most games are won.
  • Watch your opponent’s shapes. Before each move, ask what their best next stone would do. If it would create a double threat, take that point yourself or block nearby.

Common mistakes

  1. Ignoring an open three. An unanswered open three becomes an open four, and that usually ends the game. Respond to it right away.
  2. Playing only offense. Racing to build your own line while the opponent has a four is a quick way to lose.
  3. Playing only defense. If you only block, you never create threats of your own, and the opponent keeps the initiative.
  4. Scattering stones. Isolated stones across the board do not connect into lines. Keep your stones close enough to work together.
  5. Forgetting the rule set. Making six in a row works under freestyle but not under exact-five or Caro. Check which rule is selected before the game begins.
  6. Treating the edge as a block in Caro. The board edge does not seal a line, so do not count on it to stop an opponent’s five.

Try it now

The fastest way to learn is to play. Open Gomoku (Five in a Row / Caro) on 1990s.games and start a 9×9 game against the computer in freestyle. Once your first few wins feel comfortable, move to 15×15 and try the exact-five or Caro rule.

If you enjoy games about lining up stones, you may also like Four in a Row, which uses a vertical board, or Tic-Tac-Toe, the small-scale ancestor of this idea. If the board itself appeals to you, Go is played on the same kind of grid, and our guide on how to play Go covers its rules for beginners.

FAQ

Who goes first in Gomoku?

Black moves first, then the players alternate one stone at a time. In our browser version Black always opens the game.

Does a line of six stones win in Gomoku?

In freestyle rules, yes: five or more in a row wins. Under the exact-five and Caro rule sets, a line of six or more does not count, so you need exactly five.

What is the difference between Gomoku and Caro?

Caro, the Vietnamese version, requires exactly five stones, and the line must not be blocked at both ends by the opponent's stones. The edge of the board does not count as a block.

What happens if the board fills up?

If every intersection is occupied and nobody has made a winning line, the game is a draw.

Are there forbidden moves in our version?

No. Our Gomoku does not apply the Renju restrictions on Black (such as 3-3, 4-4 or overlines), so both players can place a stone on any empty point.

Prefer to play Gomoku (Five in a Row / Caro) on your phone?

← All guides