How to win at gomoku: strategy and tips
Gomoku is won with threats. A line that threatens to become a five forces the other side to answer, and the player who keeps forcing answers decides where the game goes. The strongest move makes two threats at once, because only one of them can be blocked. Below are the ideas that win most games of freestyle gomoku: the shapes to recognise, the forks, the first moves and the defence, with notes on how to beat each level of the computer on Arcajoy.
Which threats must be answered?
- A four threatens a five on the next move. It must be blocked at once, unless you can make a five yourself.
- An open four, four in a row with both ends free, cannot be stopped: only one end can be blocked. So it must never be allowed to appear.
- An open three becomes an open four in one move. Block it now, or answer with a four of your own that wins a move.
- A broken three, two stones, a gap and a third stone with free ends, is as dangerous as an open three: one stone in the gap makes an open four. Block it in the gap.
A closed three, blocked at one end, is not a threat yet. It is a resource: one more stone turns it into a four that forces an answer.
What is a four-three, and why does it win?
A four-three is one move that makes a four and an open three at the same time. The opponent must block the four, and on your next move the open three becomes an open four, which cannot be stopped. A double three, two open threes at once, and a double four work the same way. In renju Black is forbidden to make some of these forks, but in freestyle gomoku, the rules used on Arcajoy, all of them are legal for both sides. Most games between beginners are decided by the first player who finds such a fork.
How do you build a fork?
Forks grow where your lines cross. Place stones so that each one works on two or three lines at once: across, down and on both diagonals. A tight group of four or five stones in an L shape or a small diamond has many crossing lines, and sooner or later one move completes two of them. Stones scattered over the board, each on a single line, rarely make a fork.
A strong attacker plays with tempo. Every four forces a reply on one exact point, so a chain of fours lets you place your stones where you need them while the opponent can only block. This is called a victory by continuous fours: a series of fours that ends in a five or in a fork nobody can stop. Before a long attack, check that none of the blocking stones gives the opponent a four of their own.
Where to place the first stones?
- Black starts in the centre, where there is the most room for lines in every direction. The computer on Arcajoy does the same when it plays Black.
- White answers next to the first stone, right beside it or diagonally. A stone placed far away gives Black a free hand.
- Stay close to the stones on the board. A move near the edge works on few lines, because there is no room for a five on its outer side.
How to defend, especially as White
Black starts one move ahead, so White usually defends first and attacks later. A few rules help:
- Block early. An open three is cheap to stop, while an open three with a second threat may already be lost.
- Block on the right side. Of the two ends of a three, choose the one that also extends your own line or cuts another black line.
- Look for your own fours before you defend. A four forces Black to answer, and if that reply does not help Black, you have gained a move.
- Check every line after each move, including diagonals and broken shapes with a gap. Most games are lost to a threat that was simply not seen.
Common mistakes
- Building one long line in the open. A lone three is blocked with a single stone and leaves nothing behind.
- Answering every three, even closed ones, and never attacking. Defence alone does not win in gomoku.
- Playing a four too early. A four that gets blocked uses up a resource you could have turned into a fork later.
- Forgetting the diagonals. They are harder to see on a 15×15 board, and most surprise wins come along them.
How to beat the computer on Arcajoy
- Easy always takes a five and blocks your four, but does not see open threes. Make an open three, then turn it into an open four.
- Medium looks at its own move and your reply and blocks open threes. Prepare a four-three two moves ahead: it does not see a fork that far away.
- Hard looks four moves deep, makes open fours from its own threes and finds forks. Defend carefully, keep your stones in a compact group and win with a long chain of fours that goes beyond its depth.
Against the computer you play Black in the first game, and every Again swaps the colours, so you can practise attacking as Black and defending as White in turn. To try the shapes from this page with a friend, play two on one device or send a link.
Play now
Questions and answers
How do you always win at gomoku?
Nobody wins every game, but the surest way is to make two threats with one move, such as a four and an open three at once. The opponent can block only one of them.
Who has the advantage in gomoku, Black or White?
Black, because Black moves first. In gomoku on a 15×15 board Black can force a win with perfect play, which is why tournament rules such as renju limit Black.
What is an open three?
Three stones of one colour in a row with free points at both ends. If it is not blocked, the next stone makes an open four, which cannot be stopped.
Do I always have to block an open three?
Yes, unless you can make a four of your own first. A four forces an answer and so wins a move, but once your fours run out, the open three must be blocked.
How do you win at gomoku as White?
Defend first: block Black's open threes on the side that helps your own lines and use fours to win moves. Wait for Black to overreach, then turn your blocking stones into a fork.
Where should the first stone go?
Black's first stone goes in the centre. White's best answer is right next to it, beside it or diagonally.
How do you beat the computer on Hard?
Keep your stones in a compact group so they work on many lines, and look for a long chain of fours: Hard looks four moves deep and does not see a forced win that goes further.