عربي

Gomoku Strategy: Double Threats and How to Defend

A glowing gomoku board with a diagonal line of black stones, white stones around it and a star marking the winning move

Gomoku, also called five in a row, has a rule a child can learn in seconds, yet it is a real battle of attack and defence. Good players do not win by luck: they build threats the opponent cannot answer. This guide explains gomoku strategy step by step, from the basic threat shapes to the double threat that wins most games, and how to defend against it.

Practise each idea as you read in our free Gomoku game, against the computer or a friend.

Gomoku rules in one minute

  • The game is played on the intersections of a 15×15 board.
  • Black moves first, then players take turns placing one stone each.
  • The first player to make five in a row, horizontally, vertically or diagonally, wins.
  • In our freestyle version, a line of six or more also wins. Stones are never moved or captured.

The four threat shapes

Almost every gomoku game is decided by four shapes. Learn to spot them, for you and for your opponent:

Open four: unstoppable, wins next moveFour: must be blocked at onceOpen three: becomes an open four if ignoredBroken three: just as dangerous
The basic threat shapes in Gomoku. Black is attacking; white is defending.
ShapeWhat it means
Open fourFour in a row with both ends free. It wins next move, because both ends cannot be blocked.
FourFour in a row with one end blocked. It must be answered at once, or it becomes five.
Open threeThree in a row with room at both ends. If ignored, it turns into an open four.
Broken threeThree stones with one gap, such as X . X X. It is just as dangerous as an open three, and easier to miss.

The double threat: how games are won

A single threat can always be blocked. The winning idea is to make two threats with one stone. Your opponent can block only one, and the other wins. The strongest form is the four-three: one move creates a four and an open three at the same time.

★The four-three★ one stone makes two threats:a horizontal four that must beblocked (pink circle), and anopen vertical three. After theblock, extend the three to anopen four (cyan) and win.
The double threat is the key to winning: your opponent can only block one threat per turn.

In the diagram, the starred move makes a four along the row, so white is forced to block at the pink point. That same stone also makes an open three down the column. Black now extends the three to an open four at either cyan point, and white cannot stop five.

  • Four-three: the most reliable winning pattern, because the four forces the reply.
  • Three-three: two open threes at once. Very strong, but the opponent may block one and make their own four to gain time.
  • Four-four: two fours at once. Rare, but it wins immediately.

The skill is preparing these shapes a few moves ahead: place stones that sit on two lines at once, so one later move can switch both on.

How to defend

Defence in gomoku is about timing. Block too late and the threat cannot be stopped:

✗✓✓✗Block an open three right next to it (✓)A distant block (✗) still lets your rival make an open four
The right defence against an open three: block one of its ends directly, ideally the end that also builds your own line.
  1. Answer every four immediately. There is no choice here.
  2. Block every open three before it becomes an open four, unless you can make a four of your own that forces your opponent to respond first.
  3. Block at the end that touches the stones. A block on the far end leaves a gap the opponent can still use.
  4. Prefer blocks that also build your own lines. A defensive stone that starts your own three gains back the tempo.

Opening and centre play

  • Start in the centre. A central stone has room in all eight directions.
  • Keep your stones close together. Stones one or two points apart can link into many lines; scattered stones cannot.
  • Think in diagonals. Diagonal lines are harder for most players to see, so they make excellent hidden threats.
  • Use the tempo of moving first. As black you have the initiative; keep making threats so white is always reacting.

Five common mistakes

  • Chasing your own line while ignoring your opponent’s open three.
  • Missing broken threes such as X . X X.
  • Building only in straight lines, which are easy to read and block.
  • Playing near the edge, where lines run out of room.
  • Making a lone four too early. It forces one block, but if it is not part of a double threat, it wastes your attack.

Gomoku, renju and the first-move advantage

Moving first is a big advantage in gomoku. In 1994 the Dutch computer scientist Victor Allis showed with a computer search that black can always force a win in freestyle gomoku on a 15×15 board. This is why the professional variant, renju, adds rules that stop black from making certain double threats, such as three-three. Our game uses the friendly freestyle rules, so every trick in this guide is allowed for both sides.

If you enjoy games like this, the same ideas of forks and double threats appear in our tic-tac-toe strategy guide and in Nine Men’s Morris strategy.

Frequently asked questions

What are the rules of gomoku?

Two players take turns placing black and white stones on the intersections of a 15×15 board. Black moves first, and the first player to make an unbroken line of five stones horizontally, vertically or diagonally wins.

Does six in a row count in gomoku?

In freestyle gomoku, which is what our game uses, five or more in a row wins. Some rule sets, such as standard gomoku and renju, count exactly five only.

Is gomoku a first-player win?

Yes. In 1994 Victor Allis showed with a computer search that black can always force a win in freestyle gomoku on a 15×15 board. That is why the renju rules add restrictions for black.

What is the best opening move in gomoku?

The centre point. From the centre, a stone can join lines in all eight directions, while stones near the edge have far less room to grow.

How do you stop an open three?

Block it right away, ideally at one of the empty points touching the three. If you wait, it becomes an open four, which cannot be stopped.

Play Gomoku

Try to set up a four-three in our free Gomoku game: start on easy, then challenge the hard computer, which attacks and defends with real patterns. Want more? Play Connect Four and Tic-Tac-Toe, or browse all our board games.

Games to try