Learning how to play Gomoku takes about a minute. Two players take turns placing black and white stones on a grid, and the first to line up five stones in a row wins. There are no pieces to move, nothing to capture, and no dice to blame.
That simplicity is deceptive: beneath the five-in-a-row goal sits a sharp game of threats, blocks and double attacks. This guide covers the Gomoku rules, the Swap2 opening used in competitive play, and the beginner strategy that stops most early losses.

What Is Gomoku? #
Gomoku is a two-player abstract strategy game played with Go stones on a lined board. Its name comes from the Japanese gomokunarabe (五目並べ), meaning "five pieces in a row". The same game is called wuziqi (五子棋) in China and omok (오목) in Korea, and it reached Britain in the nineteenth century as Go Bang.
The game goes back to Japan in the mid-1700s Edo period, when it was played on Go boards. Books about it were being published by around 1850, and the earliest verifiable one, the Gomoku Jōseki Collection, dates from 1856. In 1993, the Dutch researcher Victor Allis proved by computer search that the first player wins freestyle Gomoku on a 15×15 board with perfect play.
The Gomoku Board and Setup #
Gomoku is played on a board of 15 lines by 15 lines, giving 225 intersections where the lines cross. Stones are placed on the intersections, not inside the squares, exactly as in Go. A 19×19 Go board also works, but 15×15 is the modern standard.
The board starts empty. One player takes black and the other white, and Black moves first. There is no dealing, no dice and no hidden information.
How to Play Gomoku: The Rules #
The five in a row game rules fit in a single paragraph. On your turn, place one stone of your colour on any empty intersection. Stones stay where they are for the rest of the game: they are never moved, jumped over, captured or removed. Then it is your opponent's turn.
| Rule | What it means |
|---|---|
| Players | Two: Black and White |
| Board | 15×15 grid, 225 intersections |
| First move | Black, on any empty intersection |
| A turn | Place one stone on an empty intersection |
| Stones | Never move, never captured, never removed |
| Winning line | Five of your stones in an unbroken straight line |
| Draw | The board fills with no five in a row |
A winning line must be unbroken and straight: horizontal, vertical or diagonal. A gap breaks it, an opponent's stone in the middle breaks it, and a line that bends around a corner is not five either.
One detail is worth agreeing on before you start: the overline, a line of six or more stones. In freestyle Gomoku, five or more in a row wins, so an overline is simply a win. In standard Gomoku and Renju, only exactly five wins.
Gomoku Swap2 Rules #
Moving first is a large advantage in Gomoku: Black sets the first threats, and with perfect play Black cannot lose. Tournament players needed a fix, and the one they adopted in 2009 is called Swap2.
Swap2 is a version of the pie rule: one player cuts the cake, the other chooses a slice. It works like this:
- The first player places three stones on the board: two black and one white, anywhere they like.
- The second player then chooses one of three options.
- Play as Black, taking over the two black stones.
- Play as White, and place one more white stone on the board.
- Place two more stones, one white and one black, and let the first player choose which colour to play.
The player who sets up the opening cannot be sure which colour they will play, so they have no reason to favour one side. Under Swap2, the first player's winning chances fall to around 52 percent.
How to Win at Gomoku #
There is only one way to win: make five in a row. But the road to five is paved with smaller shapes, and learning their names is learning the game.
| Shape | What it is | What it means |
|---|---|---|
| Three | Three in a line, able to become a four | A threat in the making |
| Open three | Three in a line, both ends empty | Must be answered at once |
| Closed three | Three in a line, one end blocked | Much less dangerous |
| Four | Four in a line, able to become five | Your opponent must block it |
| Open four | Four in a line, both ends empty | Cannot be stopped: you have won |
| Five | Five stones in a row | The game ends immediately |
The open three is the shape that decides most beginner games. One more stone turns it into an open four, which has two ways to complete five while your opponent has only one move to block. When your opponent makes an open three, block one of its ends, or make a bigger threat of your own.
A four is more urgent. A blocked four has exactly one point that completes five, so your opponent must play there. An open four is already a win: whichever end your opponent blocks, you play the other. The strongest attacks combine these shapes. A single stone that makes a four and an open three at the same time is called a four-three, and it wins on the spot, because your opponent can only answer one of the two threats.
Gomoku Strategy for Beginners #
Gomoku strategy for beginners is mostly a matter of discipline: check the same few things before every move, and most of your losses will disappear.
Can you make five? Do it. If you have a four with an open end, complete it and win at once. Nothing else matters.
Can your opponent make five next move? Block it. If they have a four, play on its winning point first. The only exception is when you can make five yourself on this move. Ignoring an opponent's four to build your own attack is the most common way beginners lose.
Can you make an open four? Do it. An open four cannot be stopped, so building one is as good as winning.
Does your opponent have an open three? Block an end. Ideally, block the end that also helps your own stones, so one move does two jobs. If you have a bigger threat of your own, such as a four they must answer, you may play that instead.
Otherwise, build. Make your own three, or play a stone that helps two of your lines at once.
Beyond that checklist, three habits help. First, start in the centre and stay close: a central stone can grow in all four directions, while an edge stone has fewer lines. Second, play for double threats: one threat gets blocked, but two made by the same stone do not. Third, use closed fours to force replies: a closed four must still be blocked, which buys you a free move.
A casual game usually lasts fifteen to forty-five minutes. Swap colours each time you play the same opponent, and you will quickly feel how much the first move is worth.
Gomoku vs Renju: What Changes? #
If you enjoy Gomoku and want a harder challenge, the next step is Renju, the professional tournament version of the game. Renju was formalised in Japan in 1899, to deal with Black's first-move advantage, and it is still played competitively today, with world championships run since 1989. The board, the stones and the goal are the same, but Black plays under restrictions that White does not share.
| Feature | Gomoku (freestyle) | Renju |
|---|---|---|
| Goal | Five or more in a row wins | White: five or more; Black: exactly five |
| Double three | Allowed | Forbidden for Black |
| Double four | Allowed | Forbidden for Black |
| Overline | A win | Forbidden for Black, and not a win |
In Renju, a double three is one stone making two open threes at once, and a double four is one stone making two fours at once. Black may play neither, and may not make an overline: doing so loses at once. White has no restrictions, so White can even force Black into a forbidden square to win on the spot.
For a beginner, freestyle Gomoku is the right place to start: every tactic you learn there transfers directly to Renju. When you are ready for a sterner test, try Renju on NPC.NAME, where Black plays under the full forbidden-move rules with the Taraguchi-10 opening.
How to Play Gomoku Online on NPC.NAME #
The fastest way to learn Gomoku is to play it, and the Gomoku game page on NPC.NAME is the place to start. You can play Gomoku online for free, against real opponents or bots, in both the standard game and the Swap2 variant.
Start with a few unrated games to get used to placing stones on the intersections and spotting open threes. Then try a rated game: your rating starts at 1200 and moves quickly over your first twenty games, and every variant has its own rating, so your Gomoku rating is separate from your Renju rating. Track your climb on the NPC.NAME Rankings, or enter an event in Tournaments.
Frequently Asked Questions #
What is Gomoku? Gomoku is a two-player strategy board game, also called five in a row, played with black and white stones on a 15×15 grid. Players alternate placing one stone on an empty intersection, and the first to get five in an unbroken row wins.
How do you play Gomoku for beginners? Black moves first, then players alternate placing one stone on an empty intersection; stones never move. Block your opponent's fours and open threes before building your own lines, play near the centre, and aim to create two threats with one stone.
What are the Gomoku Swap2 rules? In Swap2, the first player places three stones, two black and one white. The second player then chooses to play as Black, play as White and add another white stone, or add two more stones, one of each colour, and let the first player choose a colour. Swap2 balances the first player's advantage.
Does six in a row win in Gomoku? In freestyle Gomoku, yes: five or more in a row wins. In standard Gomoku and in Renju, only exactly five wins, so a line of six, called an overline, does not count, and in Renju it is forbidden for Black.
Can I play Gomoku online for free? Yes, against real players or bots, in standard and Swap2 variants, with ratings, rankings and tournaments. The Gomoku game page is the place to start.
Gomoku rewards the player who looks one move further ahead than their opponent, keeps their stones working together, and never leaves an open three unanswered. Learn the shapes, learn the Swap2 opening, play your first game, and let the double threats teach you the rest. The board is waiting.
By Nancy




Comments
No comments yet.
Log in or create a free account to comment.