Gomoku

Also known as: Five in a Row / Gobang

Gomoku is a board game for 2 players that takes about 10 minutes. The first player to line up five stones wins. Free. In-browser. No account.

210BoardRanked playCPU available

Joining is free, and no account is needed.Learn how to play (3 min)

Gomoku in 30 seconds

Four in a rowA fifth here wins
A line of five — up, across or diagonal — wins the game.
  1. Set upBlack goes first on a 15×15 board. Stones sit on the line crossings.
  2. Take turnsPlace one stone at a time. Stones never move once placed.
  3. Line up fiveA row of five in any direction — up, across or diagonal — ends the game.
  4. WinThe player who lines up five wins. A full board with no line is a draw.

At a glance

The numbers for this game. These match the actual game implementation.
ItemThis game
Players2 players
Play timeAbout 10 min
TypeBoard
Ranked playYes
Practice against the CPUYes
PriceFree (no account needed)
Rights holderA public-domain classic game
Last updated2026-09-13

How to play Gomoku online

  1. Tap "Play with friends"A party is created with a 6-character code. No account is needed.
  2. Send a link or QR codeShare it on LINE, or just read the code aloud.
  3. Everyone opens it in a browserOnce 2 players have joined, the host taps "Start".

Rule highlights

Setup

How to play

Winning

House rules

Default is this site’s setting. Changeable shows whether the party can change it.
NameDescriptionDefaultChangeable
Board sizeChoose between 15×15 and 19×19.15×15Yes
OverlineSix or more in a row also wins.OnYes
Opening restrictions (double three, double four, overline)Restrict black's moves. A restricted move cannot be played.OffYes
Swap who startsSwap the first player after each game.OnYes

FAQ

How many players?

Two. One plays black, the other white.

Is the first player favoured?

Yes. When you play several games in a row, the site swaps who goes first each time.

Does six in a row win?

Yes. Five or more wins on this site.

Are double three and double four forbidden?

Not by default. A party can turn the restrictions on, and then black cannot play a double three, a double four or an overline.

Can I practise alone?

Yes. Press Play vs CPU to play against the computer.

Can I play at school or work (unblocked)?

Yes. Gomoku runs entirely in your browser, with nothing to download or install, so it works on most school and work networks that block app stores or game downloads. If your network blocks the whole site, ask an administrator to allow boardgamejoin.com.

Is there a 2 player mode?

Yes — Gomoku is played by exactly 2 people.

Can I play against the computer?

Yes. Press “Play vs CPU” on the Gomoku page to start right away against a computer opponent — no waiting for other players.

Can I play on a phone?

Yes. No app is needed — just open it in a browser. You can join the same party as people on a PC or tablet.

Can two people play?

Yes. This game supports 2 or more players.

Rights holder and physical edition

This is a public-domain classic game. The rules follow the standard reference rules.

Related games

Same type (Board)

Same player count

Last updated 2026-09-13 · Run by Qdan, Inc.