Gomoku, Renju, Swap2, Omok, Caro: the variants compared
- 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.
The comparison table
| Variant | Board | Winning line | Forbidden moves | Start of the game |
|---|---|---|---|---|
| Freestyle Gomoku | 15×15 (sometimes 19×19) | five stones or more | none | Black plays anywhere |
| Competition Gomoku | 15×15 | exactly five stones | none | Swap2 opening |
| Renju | 15×15 | Black: exactly five; White: five or more | for Black only: double three, double four, six stones or more | first move in the center, then an opening rule specific to Renju |
| Omok (Korea) | 19×19 | five stones or more | double three | free |
| Caro (Vietnam) | varies | five stones not blocked at both ends, or six and more | none | free |
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:
- the first player places three stones wherever they like: black, white, black;
- the second player chooses a color, or places two more stones (white, black) and lets the first player choose;
- 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:
- a double three: a stone that creates two open threes at once (the rules allow a few exceptions);
- a double four: a stone that creates two fours at once;
- a line of six stones or more.
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.
- Korean Omok is usually described as freestyle Gomoku played on a 19 by 19 board, with the double three forbidden.
- Vietnamese Caro strengthens defense: five stones blocked at both ends by the opponent do not win.
- The Pro rule, used at the Gomoku world championships of 1989 and 1991, required the first move in the center and kept Black's second stone away from the first. Swap2 replaced it.
- Pente and Ninuki-renju add the capture of pairs of stones: they are already different games.
Which rule should you choose?
- To discover the game or play against the computer: freestyle Gomoku. Just one rule to remember.
- For a serious game between two players of the same strength: the competition rule. With Swap2, nobody can complain about their color.
- To move toward competition: Renju, which has its clubs, its literature and its championships.
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
More guides
- Gomoku rules: how to play five in a row The 15 × 15 board, five in a row, six stones or not, who starts, Swap2 and the draw.
- Gomoku strategy: the shapes that win Basic shapes, double threats, five questions per move, defending, reading ahead and the opening.
- Is Gomoku solved? The 1993 proof, threat-space search, what it does not prove, Renju, Swap2 and today's programs.
- History of Gomoku: from Edo Japan to the world championships Uncertain origins, Edo Japan, Go Bang, Renju in 1899, the RIF in 1988, 1993 and Swap2.
- Gomoku and Go: the differences Goal, board, captures, end of the game, first-move advantage and computers, in one table.
This guide in other languages : 🇪🇸 Español · 🇮🇹 Italiano · 🇩🇪 Deutsch