Back to games

Play Gomoku Online

Gomoku is a classic strategy game where two players take turns placing stones on a board. The first player to connect five stones in a row wins.

Gomoku game preview

About Gomoku

Gomoku, also known as Five in a Row, is a traditional strategy board game with roots in East Asia and strong historical ties to China. The idea is simple: two players take turns placing black and white stones on a grid, and the first side to connect five stones in a straight line wins.

In this game, you play black and move first. The computer opponent plays white after your move. Lines can be horizontal, vertical, or diagonal, and this game uses the casual free-style rule set without forbidden moves.

Origin and background

Gomoku belongs to the family of connection games played on grid boards. Its appeal comes from a simple goal: make five in a row before the opponent does. Because every stone remains on the board, each move permanently changes the shape of future attacks.

Beginners often treat Gomoku as a race to place five stones in one direction. Stronger play is more about building two threats at once. A single open four can force a response, but a double threat can make the next move impossible to defend.

How to play

Choose an empty intersection and place a black stone. The computer responds with a white stone. Continue alternating turns until one side connects five stones in a straight line.

The board is easiest to read if you look for lines with two open ends. A line with blocked ends is much less dangerous than one that can grow in two directions.

Rules

  • Black and white players take turns placing one stone.
  • The goal is to make an unbroken line of five stones.
  • Lines can be horizontal, vertical, or diagonal.

Beginner tips

  • Watch for open-ended rows of three and four.
  • Block your opponent before building a long attack.
  • Control the center area early.

Common mistakes

  • Playing only at the edge of the board, where there are fewer directions to attack.
  • Extending one line while ignoring an opponent's open four.
  • Making single threats that are easy to block instead of building connected patterns.

Why it is still fun

Gomoku is still fun because a full game can be played quickly, but the decisions are never completely automatic. Every stone can be part of more than one future line, so a small local move can create a large global threat.

It is a good starting point for players who want a strategy game without reading a long rulebook.

Play Gomoku

Open the playable browser version, then return to this guide whenever you want to review the rules or beginner strategy.

Open game

Gomoku FAQ

Is Gomoku the same as Five in a Row?

Yes. Five in a Row is a common English description of Gomoku's goal.

Does this version use forbidden moves?

No. This is a casual browser version without professional opening restrictions or forbidden-move rules.

Who moves first?

You play black and move first. The computer plays white after your move.