⚫ How to Play Gomoku (Five in a Row)
Gomoku (‘five in a row’) is deceptively deep. You and your opponent take turns placing stones on a grid; the first to get exactly five in a row — horizontally, vertically or diagonally — wins. Without extra rules the first player has a powerful attack, so tempo is everything.
▶ Play Gomoku (Five in a Row) nowHow to play
- Players alternate placing one stone on any empty intersection. Black plays first.
- The first player to form an unbroken line of five stones of their colour wins.
- Lines longer than five (six or more) do not count as a win in standard Gomoku — you need a clean five (LarzOS uses this common rule).
- If the board fills with no five in a row, the game is a draw (rare).
Attack and defence are the same move
Every strong Gomoku move does two jobs: it extends one of your own lines and it interferes with the opponent’s. Purely defensive moves lose because you give up the initiative — and in Gomoku the attacker usually wins the race.
The shapes that matter
| Shape | Meaning | Response |
|---|---|---|
| Open three (_ X X X _) | Threatens to become an open four next move | Must block one end now |
| Open four (_ X X X X _) | Wins next move — two ways to make five | Unstoppable; you already lost |
| Simple four (blocked one end) | One threat to make five | Block the open end |
| Double three | Two open threes at once — opponent can only block one | This is how you win |
| Four-three fork | A four plus an open three from one stone | Also a winning fork |
How to win: build a fork
The winning plan is always the same: manoeuvre until one stone creates two threats the opponent cannot both stop. The two standard forks are the double three (two open threes) and the four-three (a four that must be blocked, freeing your three to become an open four). Set these up two or three moves in advance by placing stones that leave gaps — the classic ‘split three’ (X X _ X) is harder to see and block.
Defence: block early, block the middle
- Answer an open three immediately — if it becomes an open four you have lost.
- When you block, block the end that also helps your own line if possible.
- Against a split three (X X _ X) the key defensive point is usually the gap.
- Don’t chase every single stone — only real threats. Over-blocking hands the opponent free development.
Common mistakes
- Playing far from the action to ‘start a second front’ — the opponent just presses their attack.
- Blocking one end of an open four (already lost) instead of preventing it a move earlier.
- Missing a double-three fork because one of the threes had a gap in it.
- As the first player, playing passively — you have the attack, use it.
- As the second player, trading blows evenly instead of disrupting the attacker’s shape.
Frequently asked questions
What is the difference between Gomoku and tic-tac-toe?
Same idea — get your marks in a row — but Gomoku uses a large grid and needs five in a row, which creates real strategic depth. Tic-tac-toe on a 3×3 board is a forced draw; Gomoku is not.
Does the first player win Gomoku?
In free-style Gomoku with no restrictions, the first player wins with perfect play. Tournament versions add opening rules (like ‘swap2’) to balance it. At human level it is still a competitive game.
Do six or more in a row count as a win?
In standard Gomoku, no — you need exactly five unbroken. An ‘overline’ of six is not a win. LarzOS follows this common rule.
What is a ‘double three’?
One stone that creates two open threes at the same time. The opponent can only block one, so the other becomes an open four and wins. It is the most common winning pattern.
How do I stop losing to forks?
Respond to every open three straight away, and look one move ahead for stones that would create two threats at once — block the shared key point before the fork forms, not after.
Can I play Gomoku against the computer?
Yes — choose ‘vs Computer’ and a difficulty. The harder settings look for forks and defend open threes accurately.
More games like this
▶ Play Gomoku (Five in a Row) on LarzOS