History of Gomoku — 五子棋
Few games are as old, as widespread, or as deceptively profound as Gomoku. Its history stretches across more than two thousand years, from ancient Chinese courts to global online arenas.
Ancient Origins
The precise origins of Gomoku are difficult to trace with certainty — five-in-a-row games are among the oldest abstract games in recorded history, appearing independently across several cultures that shared the practice of placing stones on ruled grids.
The most widely accepted account places the earliest form of the game in China during the Han Dynasty (206 BCE – 220 CE), where it is believed to have developed alongside or from Go (圍棋, wéiqí). The two games share a board and stones, and it is plausible that players experimented with simpler alignment objectives before Go's complex territory-scoring rules became formalized.
Chinese historical texts mention a game called wuziqi (五子棋) — literally "five-piece chess" — though early references are sparse and the rules described varied across sources. What is clear is that by the Tang Dynasty (618–907 CE), stone-placement games on gridded boards were deeply embedded in Chinese scholarly and court culture.
Japan: Where Gomoku Found Its Name
Gomoku as it is known today — standardized on a 15×15 or 19×19 grid with clear five-in-a-row winning conditions — was significantly shaped by Japan. The Japanese name gomoku narabe (五目並べ) means "five-eye alignment" and was in common use by the Edo period (1603–1868). Japanese players refined the game's presentation, established consistent rules, and brought it into the same cultural sphere as Go and Shogi.
In Japan, Gomoku was played casually by all classes — from samurai who also practiced Go, to merchants and farmers using improvised boards. The game's accessibility (simpler rules than Go, familiar materials) made it widely popular. By the Meiji era (1868–1912), Gomoku had a dedicated following and informal competitive play had become common in major cities.
The word go (五) means five in Japanese. Moku or me (目) is a counting word for intersections on a grid — the same unit used in Go to count territory. So gomoku literally means "five intersections." The full phrase gomoku narabe adds narabe (並べ), meaning "to arrange in a line." The name captures the game perfectly.
The Problem with Black: Solving Gomoku
For most of its history, Gomoku was played with no restrictions — a game called freestyle Gomoku. As analysis deepened in the late 19th and early 20th centuries, a critical problem emerged: with perfect play, the first player (Black) wins by force.
This was first rigorously demonstrated in Japan in the late Meiji period, and confirmed mathematically in the 20th century. On a 15×15 or larger board, the first player has a forced winning strategy if they play optimally from the opening move. This discovery effectively broke freestyle Gomoku as a serious competitive game — if the outcome is decided before play begins, strategy becomes irrelevant.
The Japanese response to this problem was the creation of Renju (連珠).
Renju: Competitive Gomoku Refined
Renju (連珠, literally "connected pearls") is a variant of Gomoku designed to restore strategic balance. It was codified in Japan in 1899 by Takeshita Junzo, who formulated rules restricting the first player's options without constraining the second player. The key restrictions for Black in Renju are:
No double-three (3-3): Black may not place a stone that simultaneously creates two open threes.
No double-four (4-4): Black may not place a stone that creates two simultaneous fours.
No overline: Black cannot win with six or more in a row — only exactly five counts.
White plays with none of these restrictions. The asymmetric ruleset levels the playing field without eliminating first-mover advantage entirely — a subtle, elegant design solution.
Global Spread and Competitive Renju
The 20th century saw Gomoku and Renju spread far beyond East Asia. Renju clubs emerged in Scandinavia — particularly Sweden — in the early 1900s following cultural exchange with Japan. By mid-century, active Renju communities existed across Europe, and the game spread further through emigration and international correspondence play.
The Renju International Federation (RIF) was founded in 1988 in Tallinn, Estonia, formalizing competitive Renju globally. The RIF organizes World Championships and standardizes tournament rules. The World Renju Championship has been held since 1989, with players from Japan, Russia, Sweden, China, and Estonia historically dominating the field.
Russia — particularly through players influenced by the Soviet-era mathematics and game theory tradition — became a major force in competitive Renju from the 1990s onward. Several Russian players have held World Championship titles, and Russia remains one of the strongest national Renju programs today.
Gomoku in the Digital Age
The internet transformed Gomoku's reach profoundly. Online platforms in the late 1990s and 2000s brought the game to new audiences who had never encountered physical boards, and today millions of casual games of Gomoku are played online daily. The game is particularly popular across East and Southeast Asia, Russia, and Eastern Europe.
Computer Gomoku programs have also advanced dramatically. Early AI programs played at amateur level; by the late 1990s, programs like Gomoplus and later Pbrain-compatible engines reached strong amateur and then professional-level play. Today, the strongest Gomoku AI programs play at a level unreachable by humans in freestyle Gomoku — a milestone that followed similar breakthroughs in Go with programs like AlphaGo.
The game's simplicity has also made it a canonical test case in computer science — Gomoku is solved (Black wins with perfect play on standard boards), and AI research on Gomoku contributed to the development of techniques later applied to more complex games.
A Timeline
The Game Today
Gomoku today occupies a curious dual identity: it is simultaneously one of the world's most casually played games (appearing on every major game platform, pre-installed on millions of phones) and a game with a rigorous competitive tradition in Renju. Most players never encounter Renju rules; most Renju players would not recognize the casual online versions as the same game.
What unites them is the same ancient satisfaction: two players, a grid, black and white stones, and the timeless challenge of five in a row.
A Personal Note
My own introduction to 五子棋 came through my Taiwanese grandmother, who sat me down at her Go board when I was six. Go was beyond me at the time — but gomoku wasn't. It clicked immediately, and it stayed with me. Long summer games with her. The cool weight of the stones. The way a losing position could reverse in a single move.
That thread — from ancient China, through Japan, through Taiwan, to a kid in America learning to read the board — is exactly why I built Gomoku Arena. The game has traveled a long way. It deserves a home that remembers where it came from.