The History Of Gomoku (Five In A Row)
Five in a row is one of the oldest and most widely played abstract games. Its story runs from Japanese Go boards to Victorian parlors to modern computers.
Japanese Roots
Gomoku developed in Japan, where it was played with Go stones on a Go board. Its full Japanese name, gomokunarabe, means roughly "lining up five." The game is often said to date back to the Edo period, and books on gomoku tactics were being published in Japan by the mid 1800s.

Go-Bang In Britain
In the nineteenth century the game reached Britain under the name Go-Bang, said to come from the Japanese word goban, meaning a Go board. It shows up in British writing by the late 1880s and became a popular parlor game.
The Birth Of Renju
As players got stronger, it became clear that the first player had a big advantage. Japanese players developed restrictions on Black to balance the game, and in 1899 the journalist Ruikou Kuroiwa gave this stricter version a new name: renju. Renju became the main competitive form, and the Renju International Federation was founded in Stockholm in 1988.
Many Names Around The World
Five in a row spread across Asia and beyond. It is wuziqi in China and omok in Korea, and in the United States it inspired commercial games like Pente in 1977. Each culture kept the same simple heart: five stones in a line.
Computers Solve The Game
In 1994 L. Victor Allis proved that in freestyle gomoku on a 15 x 15 board, the first player can always win with perfect play. Computer gomoku kept improving, and the annual Gomocup tournament for gomoku programs has run since 2000.
Fair Play And Modern Openings
Because perfect play favors Black, modern tournaments use opening rules such as Swap2, adopted for the world championship in 2009. These let the second player choose a color after the opening stones are placed. Learn more in our gomoku openings guide.
Timeline
| Year | Event |
|---|---|
| 1856 | The earliest verifiable gomoku book is published in Japan |
| 1880s | The game appears in Britain as Go-Bang |
| 1899 | Ruikou Kuroiwa names the restricted version renju |
| 1977 | Gary Gabrel creates Pente, adding captures |
| 1988 | The Renju International Federation is founded in Stockholm |
| 1994 | L. Victor Allis proves a first player win in freestyle gomoku |
| 2000 | The Gomocup tournament for gomoku programs begins |
| 2009 | Swap2 is adopted for the gomoku world championship |
Why Gomoku Has Lasted
Gomoku needs nothing more than a grid and two colors of stones, so it can be played almost anywhere: on paper, on a Go board or on a phone. The rules take a minute to learn, but the tactics run deep, which is exactly the mix that keeps a game alive for centuries.
Gomoku Today
Today gomoku is played on paper, on Go boards, in apps and in the browser. New twists keep appearing, from Pente style captures to multiplayer and gravity variants. HannahMoku is our take: a modern, free version for 2 to 4 players that you can play right now, with online rooms for friends, ranked Quick Match against strangers, a public leaderboard with rank tiers, and a shop where players unlock chips, auras and win effects with Stars they earn by playing.
The story did not end with the board. In 1994 a computer proved that the first player can force a win. Read is gomoku solved to see how, and gomoku names and rules for how the game is played around the world today.


