Gomoku Play Five in a Row Online

Step 1: Choose your opponent

Step 2: Tap a point to place a stone. Get five in a row to win

0Stones played
0Your wins
0Computer wins

Private by design: the game and the computer player run in your own browser. Nothing is sent to QuickOnlineTips or stored.

© 2004–2026 QuickOnlineTips. This game’s code and design are our own work. You are welcome to use it here for free, but please do not copy, republish or sell it. Terms of use

Missing a feature, found a bug, or something confusing? Tell us in a line.

About this game

Play Gomoku free online, the classic five in a row game. Take turns placing dark and light stones on a 15 by 15 board, and be the first to line up five of your stones across, down or diagonally. Play against the computer on three levels or with a friend on the same device.

Quick answer: Tap any empty point to place a stone. Dark moves first, then players take turns. The first player to get five stones in an unbroken line, across, down or diagonally, wins. Block your opponent whenever they have four in a row, or an open row of three.

How to play Gomoku

  1. The board starts empty. Dark places the first stone, usually near the centre.
  2. Players take turns placing one stone on any empty point where the lines cross. Stones never move and are never captured.
  3. Make a line of five of your stones in a row, across, down or diagonally, to win. In this version, a line of six or more also wins.
  4. If the board fills up with no five in a row, the game is a draw.

Gomoku strategy tips

  • Watch for open threes. Three stones in a row with both ends empty will become an open four next turn, and an open four cannot be stopped. Block open threes straight away.
  • Always block a four. If your opponent has four in a row with one empty end, place your stone there.
  • Build double threats. A move that makes two threats at once, such as two open threes or a four and an open three, usually wins because your opponent can block only one.
  • Stay close to the action. Stones near the centre and near other stones are worth more than stones on the edge.

Computer levels

LevelHow it plays
EasySpots wins but often misses your threats. Good for learning.
MediumAttacks and defends well, one move at a time.
HardAlso checks your best reply before it moves, so it rarely leaves you a double threat.

More strategy games: Tic Tac Toe is the quick three in a row version, or try Reversi and checkers. See all our free online games.

FAQ

Is Gomoku the same as five in a row?

Yes. Gomoku is the traditional name of the five in a row game, which is played on a grid with stones that never move.

Does dark have an advantage?

Yes. The first player has a real advantage in Gomoku, which is why tournaments use special opening rules. Take turns being dark when you play a friend, or choose light stones to give the computer the first move.

Is it free?

Yes. It is free with no sign-up and no download, on phones, tablets and computers.

Found this useful? Share it with someone who needs it.

Get our free weekly email: new tech guides and tools, no spam.

New and updated tech guides, a free tool worth bookmarking and one useful pick, once a week. No spam, unsubscribe anytime.

One email a week. Unsubscribe anytime. See our privacy policy.

Latest Tech Guides