← Back to the game

Gomoku, Renju, Swap2, Omok, Caro: the variants compared

In short
  • Variants differ on what counts as a winning line, forbidden moves and how the game starts.
  • Swap2 balances competition Gomoku; Renju forbids Black certain moves.
  • This site plays freestyle Gomoku, plus the competition rule for two-player games.

Gomoku is a family of games in which two players place stones on a grid to line up five. The variants differ on only three points: what counts as a winning line, which moves (if any) are forbidden, and how the game starts. They all try to fix the same flaw: the advantage of whoever plays first.

⚫ Play Gomoku

The comparison table

VariantBoardWinning lineForbidden movesStart of the game
Freestyle Gomoku15×15 (sometimes 19×19)five stones or morenoneBlack plays anywhere
Competition Gomoku15×15exactly five stonesnoneSwap2 opening
Renju15×15Black: exactly five; White: five or morefor Black only: double three, double four, six stones or morefirst move in the center, then an opening rule specific to Renju
Omok (Korea)19×19five stones or moredouble threefree
Caro (Vietnam)variesfive stones not blocked at both ends, or six and morenonefree

The competition Gomoku and Renju rows follow the rules of the Renju International Federation (RIF), which runs the world championships of both games. The Omok and Caro rows give the most common description of these games, which are mostly played informally: customs vary from one table to another.

Freestyle Gomoku

This is the simplest rule and the one this site uses by default: a 15 by 15 board, Black starts, five stones in a row or more wins, and nothing is forbidden. It has a flaw that Japanese players long knew about and that a computer proved in 1993: played perfectly, it is a win for Black. Between ordinary players this hardly shows; at a high level, it is a deal-breaker. The guide Is Gomoku solved? goes through that proof.

Competition Gomoku: exactly five, and Swap2

The RIF's Gomoku rules change two things.

Exactly five stones. A line of six stones or more does not win, for either player, and the game continues. On its own, this rule does not rebalance the game: the 1993 proof holds for it too.

The Swap2 opening, used at the Gomoku world championships since 2009:

  1. the first player places three stones wherever they like: black, white, black;
  2. the second player chooses a color, or places two more stones (white, black) and lets the first player choose;
  3. White plays, then the players take turns.

It is the cake-cutting principle: one cuts, the other chooses. Whoever places the first stones has every reason to build a position in which both colors are equal. A simpler version, called Swap, stops at the first step: three stones are placed, then the second player chooses a color.

On this site, the competition rule (Swap2 and exactly five stones) is offered for two-player games, on one screen as well as online.

Renju: forbidden moves for Black

Renju is the Japanese answer to the same problem, and a much older one: the name dates from 1899 and the restrictions became settled in the first decades of the 20th century, long before computers. Rather than changing the opening, Renju takes away Black's strongest weapons. Under the RIF rules, Black loses if, without making five in a row with the same move, they make:

White has no restrictions, and a line of six stones wins for White. The game becomes asymmetric: Black must win with a 4-3, the only double threat left to them, and White can try to push Black onto a forbidden point.

These restrictions were not enough to balance the game: in 2001, two researchers, Wágner and Virág, showed that Renju without an opening rule is also a win for Black. Competition Renju therefore adds its own opening rules, which have changed several times and are not Swap2. The first three stones form cataloged openings with Japanese names.

Renju is not offered on this site: its forbidden moves are confusing when you are new to the game, and a move refused without explanation looks like a bug.

Omok, Caro and the game's other names

The same game has a name in every country: gomokunarabe in Japan, wuziqi in China, omok in Korea, cờ ca-rô in Vietnam, luffarschack in Sweden. In English it is Gomoku, five in a row, or Gobang.

Which rule should you choose?

In every case, the shapes to know are the same: they are in the Gomoku strategy guide. The basic rules are in Gomoku rules.

Frequently asked questions

Play now

More guides

This guide in other languages : 🇪🇸 Español · 🇮🇹 Italiano · 🇩🇪 Deutsch