Gomoku Onlineplay connect 5 — five in a row — free

You play Black and move first. Get five in a row before the computer does.

What is Gomoku

Five in a row on a 15×15 board

Gomoku — also called connect 5, five in a row, gobang, or wuziqi — is a two-player strategy game played with black and white stones on the intersections of a grid. Players take turns placing one stone at a time, and the first to make an unbroken line of five wins. The rules take a minute to learn; reading threats and building double attacks takes a lifetime.

vs Computer or 2 Players
Challenge a computer that reads threats on both sides of the board, or pass and play with a friend on one device.
Plays in your browser
No download, no install, no plugins. playgomoku.app loads a 15×15 board instantly on desktop, tablet, and phone.
Undo and keyboard play
Take back a move with one tap, play entirely from the keyboard, and see the winning five drawn across the board.
Stats saved locally
Wins, losses, draws, streaks, and your fastest win are stored on your device — never on a server.

How to play

How to play Gomoku

Take turns placing stones, block your opponent’s lines, and be the first to connect five in a row — across, down, or diagonally.

  1. 1

    Start on an empty board

    Gomoku is played on the intersections of a 15×15 grid — 225 points in all. The board starts empty. Black always moves first, and the first stone usually goes on or near the centre star point.

  2. 2

    Take turns placing one stone

    Players alternate, each placing a single stone of their colour on any empty intersection. Stones never move and are never captured once placed, so every stone you put down stays part of the position for the rest of the game.

  3. 3

    Make threats and block them

    Three or four of your stones in a line become a threat your opponent has to answer. Most of the game is a race: extend your own lines while blocking the open ends of your opponent’s before they reach five.

  4. 4

    Connect five to win

    The first player with five stones in an unbroken row — horizontal, vertical, or diagonal — wins immediately. In this freestyle version a line of six or more also counts. If all 225 points fill with no five, the game is a draw.

Tips to win more games of Gomoku

  • Play near the centre. A stone on the edge can only extend one way, so central stones are worth more.
  • Block an open three at once — if it becomes an open four (four with both ends free), the game is over.
  • Block on the side that also helps your own lines, so every defensive stone does double duty.
  • Aim for a fork: a move that makes a four and an open three together (a “four-three”) cannot be stopped.
  • Keep stones connected diagonally as well as straight; diagonals are the lines opponents miss most often.
  • A four forces an answer. Use fours to gain tempo, but only when the forced reply does not help your opponent.
  • Count your opponent’s threes before every move. Most lost games come from one unnoticed line.

Read the full how-to-play guide

FAQ

Gomoku, answered

Straight answers about the free Gomoku (connect 5) game you can play online in your browser.

What is Gomoku?

Gomoku is a two-player strategy board game in which Black and White take turns placing stones on a 15×15 grid. The first player to get five stones in an unbroken line — horizontally, vertically, or diagonally — wins. It is also called connect 5, five in a row, gobang, and in Chinese wuziqi (五子棋). The name comes from Japanese: “go” means five and “moku” is a counter for pieces.

How do you play Gomoku?

Start with an empty 15×15 board. Black places one stone on any intersection, then White does the same, and turns alternate. Stones never move and are never captured. Make lines of your colour while blocking your opponent’s. The first to complete five in a row wins; if the board fills up with no five, it is a draw.

Is Gomoku free to play online?

Yes. playgomoku.app is completely free and runs entirely in your browser. There is nothing to buy, download, or install, no account to create, and no video ads between games. Open the page, pick an opponent, and play.

Can I play Gomoku against a friend?

Yes — choose 2 Players on the setup screen to play pass-and-play on one device. Black moves first and the turn indicator shows whose move it is. Online matchmaking against strangers is not offered; the game is fully client-side with no servers or accounts.

Does six in a row win?

On this site, yes. It uses freestyle rules, where five or more stones in a row wins. Some rule sets — “standard” gomoku and Black’s side in Renju — do not count an overline of six or more as a win, which is worth knowing if you play in tournaments.

Does Black have an advantage in Gomoku?

Yes. Moving first is a large advantage: in 1994 computer scientist Victor Allis proved that with perfect play Black can always force a win in freestyle gomoku on a 15×15 board. That is why tournament play uses Renju restrictions or swap openings. In casual play the advantage is real but far from decisive, and choosing White against the computer is a good way to practise defence.

How do I beat the computer?

Build toward a double threat. Block every open three as soon as it appears, keep your stones near the centre and connected, and look for a single move that creates a four and an open three at the same time — the computer can only block one. Undo lets you take a move back and try a different line.

What is the difference between Gomoku and Renju?

Renju is the professional form of gomoku, named in 1899 in Japan. It is played on the same 15×15 board but restricts Black: Black may not make a double three, a double four, or an overline, and loses if forced into one. These rules, plus special opening procedures, offset Black’s first-move advantage. White has no restrictions.

Is Gomoku the same as Go or Connect Four?

No. Gomoku uses Go equipment — the board and black and white stones — but Go is a territory game with captures, while gomoku is a pure five-in-a-row race. Connect Four is a vertical game with gravity on a 7×6 grid that needs only four; in gomoku you can place a stone on any empty point of a much larger board.

Does the game save my progress?

Your record against the computer (wins, losses, draws, current and best streak, fastest win) and your two-player tally are saved locally in your browser, along with your sound setting and preferred mode and colour. Nothing is sent to a server and there is no account, so a different device, a new browser profile, or cleared site data starts fresh. A game in progress is not saved if you close the tab.

Can I play Gomoku on mobile?

Yes. The board scales to fit your screen so the full 15×15 grid, the turn indicator, and the controls fit in portrait without scrolling. Tap an intersection to place a stone. Starting a new game is instant, with no page reload.

See all Gomoku FAQs