Skip to content
All games

Gomoku

Exactly five stones in a row.

About the game

Play Gomoku (five in a row) online

Line up exactly five stones in a row before your rival does.

Play vs the computer, pass the phone to a friend, invite a friend online, or play someone new.

How to play Gomoku

  1. 1Tap where two lines cross to put one of your stones there.
  2. 2Take turns, one stone each.
  3. 3Line up exactly five of your stones in a row, across, down or slanted, to win.
  4. 4Six or more in a row doesn't win, so play goes on.

Rules

  • Gomoku is also called Gobang or five in a row. Our board is 13 lines by 13.
  • Either player may make any shape: no move is banned.
  • If the board fills up and nobody has exactly five, it's a draw.

Gomoku questions

How do you win at Gomoku?

Get exactly five of your stones in a row: across, down or slanting. The winning shape is an open four, four in a row with both ends empty. Your opponent can only block one end.

Is Gomoku the same as five in a row?

Yes. Gomoku is also called five in a row or Gobang. You take turns placing one stone on any empty point.

Why doesn't six in a row win?

In our rules it has to be exactly five. Six or more doesn't count, and the game goes on, so check the ends of your line before you complete it.

How big is the board?

13 by 13 points. If the board fills up and nobody has exactly five, the game is a draw.

Can I play Gomoku with a friend online?

Yes. Send a friend the Invite a friend link and you'll place stones on the same 13×13 board from two devices. Or share one screen and pass it after each stone.

How hard is the computer?

Three levels. Easy is mostly random, Medium picks the best spot it can see now, and Hard thinks a few moves ahead. Block every open three early against Hard.

The full guide, with strategy: How to play Gomoku: rules and strategy for five in a row