Gomoku

Black vs. white: first to line up five wins

Offline

Play against bots, no connection needed.

Bot difficulty
Play as

Online play

Match with other players. Start when the table is full.

My matches

Loading…

Live matches

Loading…

How to play

Gomoku gameplay screenshot
  • Played on a 15×15 board. Black moves first; players take turns placing a stone on an empty intersection, and stones never move.
  • The first to line up five stones horizontally, vertically or diagonally wins; six or more in a row also wins, and there are no forbidden moves. If the board fills up without a five, the game is a draw.
  • Online games allow 30 seconds per move; on timeout a stone is placed automatically and auto-play starts. Players swap who goes first every game, and leaving mid-game counts as a loss. Offline games are untimed.

Playing guide

These options and rules describe the current JoyPip version. Choose a mode above before starting; rules are also available during play.

Step-by-step examples

Select a step to see what changes. These are partial examples, not full starting positions.

Practice options

Bot difficulty
Beginner · Amateur · Professional · Master
Play as
Black (moves first) · White (moves second) · Random

Detailed rules and controls

Shapes
  • Open four: it can become five at either end, so it cannot be blocked
  • Four: only one point makes five, so the opponent must block it
  • Open three: one more stone makes an open four, so block it in time or lose
  • Double four, four-three and double three are common winning tactics
Controls
  • Desktop: hover to preview, click an intersection to place a stone
  • Phone: tap once to preview, then tap “Confirm move” or the same point again
  • Keyboard: arrow keys move the cursor, Enter places a stone
  • On phones, pinch to zoom the board and drag with one finger while zoomed in

Frequently asked questions

What is an open four, and why defend it first?

Four pieces in a line with both ends open form an open four: the opponent can block only one end per turn. Stop any immediate five-in-a-row threat before preparing your own attack.

Do I need a download or a linked email?

Play directly in your browser without a download. Linking email is an optional way to recover your account. Before clearing browser data, consider whether you need to keep your account or local records.

Do matches earn or spend coins?

Earn coins by checking in and spend them on cosmetics. Matches never cost or award coins.

Report a problem

Try these related games