Strategy · Board games

Gomoku strategy - how to win at five in a row

Win more games of gomoku (five in a row). Learn threes and fours, forcing moves, double threats, how to defend and the best opening habits.

· 5 min read

Quick answer

To win at gomoku, build lines that force your opponent to answer: an open three must be blocked, and a four must be blocked at once. Create two threats with one stone, such as a four plus an open three, and your opponent can only stop one of them.

Gomoku, also known as five in a row or gobang, has rules you can learn in ten seconds: take turns placing a stone, and the first to line up five wins. Winning takes more thought. The secret is that good gomoku isn't about building your line in peace; it's about forcing moves, making threats your opponent must answer until you can make two at once.

On Jessie Games, you play freestyle gomoku on a 15×15 board, where a line of five or more in a row wins. You can play gomoku against the computer while you read.

What are the rules of gomoku?

  1. Two players take turns placing one stone on an empty point.
  2. Stones never move and are never captured.
  3. The first player to make an unbroken line of five or more stones, across, down or diagonally, wins.
  4. If the whole board fills with no winner, the game is a draw.

Some tournament versions add extra rules for the first player, because moving first is a real advantage. Jessie Games uses the simple freestyle rules, so take turns going first in rematches.

What are threes and fours in gomoku?

Everything in gomoku strategy is built from a few shapes. Learn to spot them for both colours.

Shape What it looks like What it means
Open four Four in a row with both ends empty Wins next move. It can't be stopped, because there are two places to finish.
Four (closed) Four in a row with one end blocked, or four with one gap Must be blocked at once, or it becomes five.
Open three Three in a row (or with one gap) and room on both sides Must be answered, or it becomes an open four.
Closed three Three with one end blocked Not urgent yet. It can grow into a four.

A move that creates a four or an open three is a forcing move: your opponent has to respond to it, so you keep control of the game.

How do you win at gomoku?

Make a double threat

Almost every gomoku win comes from one stone that creates two threats at once. Your opponent can block only one.

  • Four-three: one stone makes a four and an open three. They block the four; you turn the three into an open four.
  • Three-three: one stone makes two open threes. They block one; you extend the other into an open four.
  • Four-four: one stone makes two fours. They can't block both.

Build up threats step by step

Strong players think in chains of forcing moves. Here's the process:

  1. Look for stones that work together, near each other in several directions.
  2. Play a forcing move (a four or an open three) whose block doesn't hurt you.
  3. After each forced block, look again. Your new stone may have created fresh lines with older stones.
  4. Keep forcing until one move creates two threats at once.
  5. Finish the line. Turn the open four into five.

A sequence that uses only fours (which must be blocked immediately) is the safest, because your opponent never gets a free move to start their own attack. Jessie Games' Hard computer is good at spotting exactly these chains of fours, so it will punish you if you leave one open.

Play in the middle

Stones near the centre can grow lines in all eight directions. A stone near the edge has fewer options. Most strong games start at or close to the centre point and stay compact.

Stay close to the action

New stones should usually touch, or nearly touch, the existing stones. A stone far away from everything takes several moves to become useful.

How do you defend in gomoku?

Good defence is as important as attack, especially against a first player who started strong.

  1. Check for fours first. If your opponent has a four, block it now, whatever else is happening.
  2. Then check for open threes. Block an open three before it becomes an open four.
  3. Block on the side that helps you. When you have a choice of where to block, pick the end that also builds one of your own lines.
  4. Counter-attack when you safely can. If you can make a four of your own, your opponent must answer it first, which can buy time against their three.
  5. Watch the gaps. A broken three like X X _ X is just as dangerous as a solid one.

The most common reason for losing a game of gomoku is missing an open three until it's too late.

What are good opening habits?

  • Start in the centre if you move first.
  • If you move second, place your first stone right next to (or diagonally beside) your opponent's stone, to stay in the fight.
  • Don't spread out. A tight group of stones gives you more chances for double threats.
  • Mix attack and defence. The best moves block one of your opponent's lines while extending one of yours.

How is gomoku different from four in a row?

Gomoku Four in a Row
Board 15×15 points 7 columns × 6 rows
Placement Any empty point Discs drop to the lowest space in a column
Line needed Five or more Four
Feels like Wide-open, attacking Tight, all about columns and order

If you enjoy gomoku, try Four in a Row and our four in a row winning strategy. For a game where every move flips the board, try Reversi with our guide to reversi strategy.

Where can you play gomoku?

On Jessie Games, choose vs Computer and pick Easy, Medium or Hard. It runs on your device and works offline. To play a friend, add them with a friend code or invite link and play live or one move at a time; turns in friend matches are always free. For quick references, see the gomoku rules page and the gomoku strategy page.

FAQ

Does six in a row win in gomoku?

On Jessie Games, yes. Freestyle gomoku counts any line of five or more. Some other rule sets only accept exactly five.

Who has the advantage in gomoku?

The first player has a clear advantage in freestyle gomoku, which is why some tournament rules restrict the first player. Taking turns going first keeps things fair.

What is a four-three in gomoku?

It's a single stone that makes both a four and an open three. Your opponent must block the four, and then you turn the three into an open four, which can't be stopped.

Is gomoku the same as five in a row?

Yes. Gomoku is the traditional name for five in a row, also known as gobang.

Can gomoku end in a draw?

Yes, if the whole board fills with no line of five. It's rare in practice.

How do I beat the Hard computer?

Never leave an open three unanswered, block fours immediately, and aim for a double threat. Hard is very good at chains of fours, so keep your own position compact and defended.

Put it into practice

Play Gomoku free in your browser. No download, no sign-up.