All games

Five in a row

Play five in a row, the game also called gomoku: the first to line up five stones wins. Free, in your browser, with no adverts. Free, with no account or uploads.

Reaches other sites: online play goes through relays that cannot read anything · Check it yourself

Your turn: you are Black

Play five in a row

Line up five stones, across, down or diagonally. Black goes first; stop every open three before it grows.

Five or more in a row wins.

You
0
Draws
0
Computer
0
How to play

How it works

  1. 1Take turns placing stonesBlack goes first. Place a stone on any free point; on a phone, tap once to aim and again to place.
  2. 2Make five in a rowFive or more of your stones in a row, across, down or diagonally, wins.
  3. 3Stop open foursFour in a row with both ends free cannot be stopped, so block threes before they grow.

The game runs in your browser. Nothing you play is sent anywhere but to the friends you play online, and there are no adverts.

Every option explained

A little help along the way

Follow these steps. Every option is explained underneath. The game runs in your browser; nothing is sent anywhere.

  1. Choose who you playThe computer is the usual, at Medium; Easy to learn and Hard for a real game. Here together takes turns on this device; Friends online plays friends anywhere, live in a room or taking turns by link.
  2. Take turns placing stonesBlack goes first. Place a stone on any free point; on a phone, tap once to aim and again to place.
  3. Make five in a rowFive or more of your stones in a row, across, down or diagonally, wins.
  4. Stop open foursFour in a row with both ends free cannot be stopped, so block threes before they grow.

Questions people ask

Is five in a row the same as gomoku?
Yes. This is freestyle gomoku: five or more stones in a row win, on a 15×15 board, with Black going first and no extra rules for Black.
Does six in a row count?
Yes, in this freestyle game a row of six or more wins too. Some tournament rules count only exactly five; they are not played here.
Does the first player always win?
With perfect play, freestyle gomoku was shown to be a win for the first player, which is why tournaments add rules for Black. In real games, careful defence decides it: stop every open three.

This page is the Gomoku, opened for this one job; every other tool it has is one press away. Each of its settings is explained on the Gomoku's own page.

Read the step-by-step guide