Gomoku Rules

A guide to the casual exact-five rules used by this site, plus the key differences between free-style gomoku and formal Renju.

Quick summary: This site's casual game uses an exact-five rule: two players take turns placing stones on intersections, and the first unbroken line of exactly 5 wins. Black goes first. Free-style and formal Renju use different rules.

Standard Gomoku Rules

This is the casual exact-five ruleset used by this site's browser game. Other groups and apps may use free-style or formal Renju rules, so agree on the rules before playing.

1. Board Setup

2. Gameplay

3. Winning

Detailed Winning Conditions

A win is simpler to state than to spot in a real game. Here is exactly how the five-in-a-row condition is evaluated, and the edge cases that trip up beginners.

Worked example: Suppose Black has stones at (7,7), (8,7), (9,7), (10,7). Placing the fifth stone at (11,7) completes a horizontal five — Black wins. But if Black already had (7,7)…(11,7) (six in a row) and White had blocked (11,7) earlier, then the run was already broken and no win occurred. Counting the longest unbroken run is the whole game.

Equipment & Setup

Gomoku uses the same equipment as the board game Go, which is why the two are often confused at first glance.

Rule Variants

Three rule sets cover almost all gomoku you will encounter. Knowing which one you are playing changes your strategy completely.

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 Official opening procedure; check the event rules Free placement
Used in Casual play Professional tournaments Online play

Renju Rules (Professional)

Renju is a formal competitive ruleset related to gomoku. The word "Renju" (連珠) means "connected pearls" in Japanese. It adds restrictions on Black (the first player) and uses formal opening procedures to address first-player advantage. Tournament details should always be checked against the current RIF rules:

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.

The Renju International Federation (RIF) publishes the current rules used for its events. The restrictions and opening procedures are intended to make competitive play fairer than unrestricted first-player Gomoku. [Source: Renju International Federation rules]

Common Rule Misconceptions

These are the mistakes we see most often from players coming from other board games:

How the Rules Shape Your Strategy

The rules are not just restrictions — they define the entire strategic landscape:

For the broader history and competitive development of these rules, the Gomoku article on Wikipedia is a solid secondary reference, and the Renju International Federation publishes the official RIF rule set used in world championship play.

Common Questions About Gomoku Rules

Does a line of 6 count as a win?

On this site's exact-five board, no — a line of exactly 5 is required. In free-style gomoku, a line of 6 or more can count as a win. In formal Renju, Black overlines are forbidden while White overlines count as wins.

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.

Quick-Reference Rule Card

SituationRule
Who starts?Black. This site allows Black's first stone on any empty intersection.
Where do stones go?On intersections (line crossings), not inside squares.
Can I move a stone?No. Once placed, it stays for the whole game.
Can I pass?Not in this site's browser game. Other rulesets may differ.
How do I win?On this site: an unbroken line of exactly 5, horizontally, vertically, or diagonally. Other variants handle overlines differently.
What if the board fills?Draw. Extremely rare in practice.

House Rules for Casual Play

When you're playing with friends and not in a tournament, you don't have to follow Renju exactly. A few simple agreements keep things fair and fun:

More Rule Questions

What happens if both players make five at once?

They can't. Players alternate, so only the player whose turn it is can complete a five. The game ends the instant the fifth stone lands.

Is there a time limit in gomoku?

Not in casual play. Tournaments use a chess-style clock with a per-move limit, but at home you can take as long as you like. Online platforms may impose a timer in ranked matches.

Can I play gomoku with pencil and paper?

Yes. Draw a grid of dots (or use our printable board) and mark moves with X and O. It's how many people first learn the game.

Is gomoku the same as five in a row?

Yes. "Gomoku" is the Japanese name and "five in a row" is the English name for the same game. Other names include Gobang, Omok (Korean), and Wuzi Qi (Chinese). The rules are identical.

What happens if I place on an occupied point?

You can't — the intersection is already taken, so the move is illegal and you must choose an empty point. In digital play the board simply rejects the tap; on a physical board, just pick another intersection.

Can children play gomoku?

Absolutely. The rules take a minute to learn and games are short, especially on a 9×9 board. It teaches pattern recognition and planning without any reading or setup. Start kids on the smaller board and let them win a few games first.

Which Rule Set Should You Use?

If you're just starting out, use this site's casual rules: exactly five wins, diagonals count, and no passing. Choose free-style only if your group wants six-in-a-row to count as a win. If you want to play formal Renju, use the current RIF rules plus the specific event regulations rather than copying a casual board's settings. Our opening patterns guide gives additional context, but it is not a tournament rulebook.