Gomoku
Gomoku, also known as Five in a Row, is a two-player strategy game played with black and white stones on a 15×15 board. Take turns placing one stone at a time, and the first player to line up five in a row — across, down or diagonally — wins. The rules take a minute to learn, but the play runs deep: build threats your opponent has to answer, and look for the move that makes two at once. Play solo against the bot at three levels, or online through quick match or a playroom with a friend, without signing up.
- Solo
- Multiplayer
- Free
New to the game? Learn it on the board in a few minutes

Objective
Be the first player to get five of your stones in an unbroken row — across a row, down a column or along a diagonal.
One player has the black stones and the other has the white stones. You take turns placing one stone at a time on any empty point, and the match ends the moment someone completes a line of five.
Stones never move and are never captured, so every stone you place is there for the rest of the match. If the whole board fills up with no line of five, the match is a draw, though that almost never happens.
The Board and Stones
Gomoku is played on a board of 15 lines by 15 lines. Stones go on the points where the lines cross, not inside the squares, so the board has 225 points to play on.
Every match starts on an empty board. Black always moves first. In a solo match you choose your colour, so pick Black if you want to start; in online matches the colours are assigned for you.

Reading the Board
Each point has a name. The columns are lettered A to O from left to right, and the rows are numbered 1 to 15 from the bottom to the top. The point in the very middle is H8.
Five points are marked with a small dot: the centre and the four points near the corners. They do nothing in the rules. They are there to help you find your place on a large board.
Taking a Turn
On your turn, place one stone of your colour on any empty point. Then it is your opponent's turn.
- You must place a stone every turn. There is no passing.
- You can play anywhere on the board, next to other stones or far from them.
- A stone stays where you put it. Nothing is moved, flipped or captured.
The last stone played is marked with a small dot, so you can always see where your opponent just moved.

Placing Stones on a Phone
The points on a phone screen are smaller than a fingertip. Tap a point once to choose it, and a preview of your stone appears there. Tap the same point again to place the stone, or tap a different point to choose that one instead.
With a mouse, one click places the stone. With a keyboard, move with the arrow keys and press Enter or Space.
Winning and Draws
You win by making an unbroken line of five stones of your colour. The line can run in any of four directions:
- across a row,
- down a column,
- along a diagonal that rises to the right,
- along a diagonal that falls to the right.
The five stones must be next to each other with no gaps and none of your opponent's stones between them. The match ends at once, and the winning stones are marked on the board.

Six or More in a Row
Playboard plays freestyle Gomoku: a line of six or more stones wins as well. You do not need exactly five.
Draws
If all 225 points are filled and nobody has five in a row, the match is a draw. In practice a match is decided long before the board fills up.
Resigning
You can resign at any time from the match menu. Your opponent wins the match.
Threes and Fours
Gomoku is a game of threats. A threat is a line that will become five unless your opponent stops it. Learning to read two shapes, the four and the three, is most of the game.
The Four
A four is four of your stones in a line with an empty point that would make five. Your opponent must play on that point at once, or you win on your next turn.
Here Black has four in a row. White has already shut one end, so there is only one point left to make five on, marked with the gold dot. It is Black's turn, and Black wins there.

If it were White's turn instead, White would have to play on that point to stay in the match.
The Open Four
An open four is a four with both ends empty. There are two points to make five on, and one stone can only block one of them. An open four wins the match.

The Open Three
An open three is three stones in a line with room on both sides. Left alone, it becomes an open four on the next turn. So an open three has to be answered now, by playing on one of the points right next to it.
White has an open three here and it is Black's turn. Black should play on one of the two marked points. A stone one step further away does not help: White would still make an open four.

A three with one end already blocked is much weaker. It can only become a four with one open end, which a single stone stops.
Strategy
Start in the Middle
The centre gives a stone room to grow in every direction. Stones near the edge have fewer lines of five running through them. Most matches begin at or next to the centre point, H8.
Win First, Then Block
Before every move, ask two questions in this order:
- Can I make five? If yes, do it. Nothing else matters.
- Can my opponent make five next turn? If yes, block that point.
After that, look for open threes, yours and theirs.
Keep the Initiative
A move that makes a four or an open three forces a reply. While your opponent is answering your threats, they are not building their own. Try to make each forcing move also add a stone to a second line.
Make Two Threats at Once
A careful opponent blocks every single threat. The way to win is a stone that makes two threats at the same time:
- a four and an open three (often called a four-three),
- two fours at once,
- two open threes at once.
Your opponent can answer only one of them.
Black's last stone here, at H8, makes a four across and an open three going up. White has to block the four at the marked point. Black then turns the three into an open four and wins.

Block on the Better Side
When you stop an open three, you can choose which end to play on. Pick the end where your stone also helps a line of your own, or where it takes away the most room from your opponent.
Watch the Diagonals
Lines across and down are easy to see. Most surprise wins come along a diagonal. Check both diagonals through your opponent's last stone before you move.
Rules and Variants
Gomoku is played under several sets of rules around the world. They share the same board and the same goal, and differ in a few details.
Freestyle (Played Here)
Playboard uses freestyle rules, the simplest version and the one most people learn first:
- The board is 15×15 and Black moves first.
- Five or more in a row wins, for either colour.
- Neither player has forbidden moves.
Standard Gomoku
In standard Gomoku a line must be exactly five. Six or more in a row, called an overline, does not win.
Renju
Renju is the tournament form of the game. Because moving first is a big advantage, Renju forbids Black from making certain shapes: two open threes at once, two fours at once, and an overline. White has no such limits.
Swap Openings
Some tournaments balance the first move with an opening rule such as Swap2. One player sets down the first few stones, and the other chooses which colour to play.
Other Names
Gomoku is the Japanese name. The game is also called Five in a Row, Gobang, Omok in Korea and Wuziqi in China.
Frequently Asked Questions
How do you play Gomoku?
Two players take turns placing one stone on an empty point of a 15×15 board. Black moves first. Stones never move and are never captured. The first player to get five of their stones in an unbroken row — across, down or diagonally — wins.
Is Gomoku the same as Five in a Row?
Yes. Gomoku is the Japanese name for Five in a Row. The game is also known as Gobang, Omok in Korea and Wuziqi in China.
Does six in a row win in Gomoku?
On Playboard, yes. We play freestyle Gomoku, where a line of five or more stones wins. In standard Gomoku and in Renju, a line must be exactly five, and a longer line does not count.
Who moves first in Gomoku?
Black always places the first stone. In a solo match you choose your colour, and in online matches the colours are assigned for you.
What is an open three in Gomoku?
An open three is three stones in a row with empty points at both ends. If it is not blocked, it becomes an open four on the next turn, which has two points to make five on and cannot be stopped.
How do you win at Gomoku?
Make five when you can, and block your opponent's four when you must. To beat a careful opponent, play a stone that makes two threats at once, such as a four and an open three. Only one of them can be blocked.
Can I play Gomoku online with a friend?
Yes. Create a playroom and send your friend the link, or join a quick match to play another player. You can also play solo against the bot at three levels.
Do I need to sign up or download anything?
No. Gomoku runs free in your browser and you can play instantly as a guest. Create an account later if you want to keep your match history.