Gomoku Online

In Gomoku online you place stones alternately with the computer on a board; whoever first gets five (or more) in a horizontal, vertical or diagonal row wins. You play Black and start, or let the computer begin.

Source: Wikipedia – Gomoku. Updated: .

Your move: tap an empty square.

Moves: 0

Rules: Black (you) and White (computer) alternately place one stone on an empty square. Whoever first has five or more of their own stones in an unbroken row wins. There are no move restrictions.

Controls: tap a square, or move with the arrow keys and press Enter. "Undo move" takes back your last move and the reply; "Suggest a move" marks a strong square.

My Toolbox

Result

How it is calculated

Gomoku (Japanese for "five stones", also called five in a row) is a strategy game for two: whoever first gets five of their own stones in a line wins. It is played on a grid, here 9 × 9, 13 × 13 or 15 × 15 squares. The computer plays at three levels.

How to play

  1. Black starts; then both place one stone at a time on an empty square.
  2. You win by connecting five or more stones horizontally, vertically or diagonally without a gap.
  3. Stones are never moved or captured.

Strategy tips

Computer levels

"Easy" picks at random among good squares and sometimes misses a threat. "Medium" scores every square for attack and defence. "Hard" also looks ahead at the opponent's best reply. "Suggest a move" uses the strong search for you.

Frequently asked questions

How does Gomoku work?

Two players alternately place stones on a grid. Whoever first has five or more of their own stones in a row, horizontally, vertically or diagonally, wins.

Who gets to start in Gomoku?

Traditionally Black starts, which is a small advantage. Here you choose whether you or the computer places the first stone.

What is an open three or open four?

An open three is three stones in a row with free squares at both ends. One more stone turns it into an open four, which the opponent can no longer block on both sides.

Is it different from "five in a row" or Renju?

The basic idea is the same. This version plays freestyle: five or more win, and there are no restrictions on Black as in Renju.

Is my game saved?

No. The game runs entirely in your browser; nothing is stored or sent.

Sources and legal basis

As of: · Editorial policy

Related tools