Gomoku (Five in a Row)

You play black and move first. Take turns placing stones on the intersections. The first player with five stones in an unbroken line wins.

Tap an empty point to place a stone. Five in a row in any direction wins. The red dot marks the last stone; Undo takes back your last move.

How to play Gomoku

  1. The board is empty at the start. Black places the first stone.
  2. Players take turns placing one stone of their colour on any empty point.
  3. Stones are never moved or removed.
  4. The first to make an unbroken line of five stones – horizontally, vertically or diagonally – wins.

Strategy tips

  • An open three (three in a row with both ends free) must be answered, or it becomes an unstoppable open four.
  • Look for moves that create two threats at once, such as two open threes – your opponent can only block one.
  • Always check whether your opponent has four in a row before you attack.
  • Play near the centre and close to your other stones.

About the game

Gomoku comes from Japan and is played with Go stones on a Go board. This version uses free-style rules: five or more in a row wins and there are no restrictions for black. Professional variants such as Renju add rules to balance black’s first-move advantage.

Frequently asked questions

Is Gomoku free here?

Yes, free with no sign-up and no download.

Does six in a row count?

Yes. In this free-style version five or more stones in a row win.

How strong is the computer?

Easy misses threats, Medium attacks and blocks well, and Hard also checks your best reply before it moves.

Can I take back a move?

Yes. Undo removes your last move (and the computer’s reply).

Related tools