Gomoku Online — Five in a Row

Place stones, build five in a row, and outread a friend on a 15×15 board — online, real time, free and no signup.

Gomoku online on Play Lounge, shown mid-match on a phone

How to play Gomoku online with friends

Play Gomoku online — also called Five in a Row — against a friend in real time. Create a room on Play Lounge, share the link, and you both place stones on the same 15×15 board with every move synced live. No account, no download, free, and playable on any device.

Want practice first? Play Gomoku vs the computer at three levels. The AI recognizes open threes and fours and blocks your forcing sequences, so the hard setting is a genuine test of your shape reading before you challenge a friend.

Why play it here

Share one link

Create a private room and send the link. No account on either side.

Instant moves

Real-time over WebSocket, comfortable even on a slow connection.

Practise offline

A built-in AI opponent with three difficulty levels when nobody is around.

Any device

Browser, installable PWA, and native iOS and Android apps.

Gomoku rules

How a game of Gomoku works

Two players alternate placing stones on a 15×15 board, Black first. A stone never moves once played and is never captured, so every move is permanent and the board only ever fills up. The first player to build an unbroken line of five or more of their own stones — horizontal, vertical or diagonal — wins immediately.

Play Lounge uses the freestyle ruleset, the version most people learn as children. Freestyle means an overline counts: if you end up with six or seven in a row, that wins just the same as five. Tournament Renju forbids overlines for Black and adds further restrictions; freestyle has none of that, which makes it quicker to pick up and a better fit for a game against a friend.

If all 225 points fill with no line of five, the game is a draw — though in practice that is rare, because the board is large enough that someone almost always builds a threat the other player cannot answer.

How to actually win at Gomoku

Threats are the whole game

Beginners try to make five. Stronger players make threats — shapes that will become five unless the opponent answers immediately — and win because the opponent eventually runs out of answers.

Open three. Three of your stones in a row with empty points at both ends. Left alone it becomes an open four next move, which is unstoppable, so an open three almost always forces a reply. It is the cheapest way to take the initiative.

Four. Four in a row with one open end. Your opponent must block that end this move or lose. A four is absolute, but it forces only one reply, so a single four wins nothing by itself.

Open four. Four in a row with both ends open. There are two winning points and your opponent can block only one. If you can build an open four, the game is already over.

Broken three. Three stones with a gap. It threatens to become a four by filling the gap, and beginners routinely miss it because the stones are not adjacent.

The double threat

Every Gomoku game is decided by a double threat — one move that creates two separate threats at once. Your opponent answers one; the other wins.

The common forms are the double four, where both fours must be blocked and only one can be, and the four-plus-open-three, which is usually decisive: the four forces an immediate block, and while your opponent answers it the open three matures into an open four.

This is why placing stones so they share lines matters more than placing them near each other. A stone contributing to a row, a column and a diagonal is doing three jobs; a stone that only extends one line is doing one.

Defence: count the forcing moves

Under pressure, do not simply block the most recent stone. Ask which of your opponent’s shapes are forcing: a four must be answered now, an open three almost always must, a plain three can often be ignored. Blocking a harmless three while an open three ripens elsewhere is the most common way to lose.

Where you can, block on the side that also builds something of your own. Defence that creates a threat forces your opponent to stop attacking, and that is how you take back the initiative.

Openings and the first-move advantage

Black is better, and freestyle does nothing about it

Gomoku has been solved: on a 15×15 board under freestyle rules, the first player wins with perfect play. Tournament formats correct this with opening restrictions or a swap rule, where one player proposes an opening and the other picks a colour. Play Lounge uses plain freestyle with no restrictions, so Black keeps the advantage.

In a casual game this matters less than it sounds, because nobody plays perfectly — but it is worth knowing, and it is a good reason to alternate who goes first across a series rather than playing a single deciding game.

Practical opening advice

Start near the centre. A stone in the middle sits on four lines — row, column and both diagonals. A stone near an edge has fewer directions to grow, and lines that run off the board are dead weight.

Keep your stones connected but not cramped. Stones two points apart often work better than adjacent ones: they leave room for the gaps that make broken threes, and they cover more of the board.

As White, do not only block. Answering every Black move without building anything hands over the game. Look for blocking points that also start a line of your own.

Watch the diagonals. Diagonal threats are the ones people miss, because the eye tracks rows and columns first. Most surprise losses come from a diagonal.

Gomoku, Gobang, Renju and Five in a Row

The same game under different names

Gomoku comes from the Japanese gomokunarabe, “five points in a row”. It is the same game as Gobang, Five in a Row, Chinese Wuziqi (五子棋), Korean Omok (오목) and Vietnamese Cờ caro. If you learned it on squared paper at school, you already know it.

Renju is the tournament version: Black is forbidden from making a double three, a double four or an overline, which cancels most of the first-move advantage. It is a stricter, more studied game — and not what is played here.

Gomoku is not Connect Four, where pieces fall to the bottom of a column and four wins. Gomoku’s board is far larger, stones stay exactly where you put them, and you need five — which makes it the deeper of the two by some distance.

Gomoku online — FAQ

Can you play Gomoku online with friends?

Yes. Open a private room and share the link; your friend joins instantly and you play the same 15×15 board in real time. It is free, there is no signup, and they do not need to install anything — the link opens straight in their browser.

How do I play 2 player Gomoku online?

Choose Gomoku, create a room, and send the invite link or the 6-character code to the other player. They open it, join automatically, and you alternate placing stones — Black first.

Is Gomoku the same as Five in a Row?

Yes. Gomoku, Gobang, Five in a Row, Wuziqi, Omok and Cờ caro are all names for the same game: alternate placing stones and be first to line up five.

Does six in a row win in Gomoku?

Here, yes. Play Lounge uses freestyle rules, where an overline of six or more counts as a win. In tournament Renju an overline does not win for Black — that is one of the main differences between the two rulesets.

How big is the Gomoku board?

15×15, so 225 points. That is the standard size for Gomoku and Renju. A smaller board makes draws far more likely, because there is not enough room to build a threat the other player cannot answer.

Who wins Gomoku, the first or second player?

The first player. Freestyle Gomoku on 15×15 is a proven first-player win with perfect play, which is why tournaments add opening restrictions or a swap rule. In a casual game it matters less, but it is fair to alternate who starts.

What is an open three in Gomoku?

Three of your stones in a row with both ends empty. If it is not blocked it becomes an open four — four in a row with two winning points — which cannot be stopped. That is why an open three nearly always forces a reply.

Can I play Gomoku against the computer?

Yes. You can start a practice game against the AI at Easy, Medium or Hard while you wait for a friend to join your room, then switch straight into the real game when they arrive.

Is online Gomoku free?

Yes — free, with no account and no download. It also installs as an app on any device if you want it on your home screen.

More 2-player games

Play these online with a friend too — same room links, same zero setup.

Take it with you

Native apps for iOS and Android. Same games, same room codes.