Gomoku Rules

Complete guide to the rules of gomoku (five in a row). Covers the standard rules used in casual play as well as the Renju and free-style variants played in tournaments.

Quick summary: Two players take turns placing stones on a grid. The first to form an unbroken line of 5 stones in any direction wins. Black always goes first.

Standard Gomoku Rules

These are the most commonly played rules, used in casual games worldwide.

1. Board Setup

2. Gameplay

3. Winning

Rule Variants

Rule Standard Renju Free-Style
Overline (6+) Not a win Forbidden for Black Counts as win
Black restrictions None Double-three, double-four, overline forbidden None
Opening rules Free placement Designated openings (26 patterns) Free placement
Used in Casual play Professional tournaments Online play

Renju Rules (Professional)

Renju is the professional variant of gomoku, developed in Japan in the early 20th century. The word "Renju" (連珠) means "connected pearls" in Japanese. It adds restrictions on Black (the first player) to compensate for Black's proven first-move advantage:

Renju Forbidden Moves Explained

The forbidden move rule is the heart of Renju. Here's what each restriction means:

Double-Three

A single move that simultaneously creates two open threes (lines of 3 with both ends open). This is forbidden because it creates an unstoppable threat — blocking one open three leaves the other to become an open four.

Double-Four

A single move that simultaneously creates two lines of four. Since each four only needs one more stone to become five, blocking one four leaves the other to win. This is forbidden for the same reason as double-three.

Overline

A line of six or more stones in a row. In Renju, only exactly five counts as a win for Black. An overline is not a win — it's explicitly forbidden. White can still win with an overline.

According to the Renju International Federation (RIF), these restrictions were introduced to create a balanced and skill-based game. Without them, Black's first-move advantage would make competitive play uninteresting. The RIF was founded in 1988 and organizes the Renju World Championship. [Source: Renju International Federation, renju.net]

Common Questions About Gomoku Rules

Does a line of 6 count as a win?

In standard rules, no — a line of exactly 5 is required. In free-style gomoku, a line of 6 or more does count as a win. In Renju, overlines are forbidden for Black.

Can I play on a smaller board?

Yes! 9×9 and 13×13 boards are common for casual and beginner play. See all board sizes →

Why does Black go first?

Tradition from Go, which uses the same equipment. In gomoku, going first is a significant advantage — this is why Renju adds restrictions on Black.