The rules of gomoku, or five in a row.
Gomoku is five in a row on a 15×15 board. The rules, why Black goes first, freestyle against exactly five, and how to play it in your browser.
By Suraj Kumar3 min read
Gomoku is one of the oldest games of placing stones in a row. Its rules take a sentence: be the first to make five.
Five or more in a row wins.
Two players take turns placing a stone of their colour on a free point of a 15×15 board, Black first. The first to have five stones in an unbroken row, across, down or diagonally, wins. If the board fills first, it is a draw.
Freestyle, and the rules tournaments add.
This is freestyle gomoku: a row of six or more wins too. Standard gomoku counts only exactly five, and renju adds limits on Black's moves, because with perfect play the first player can always win freestyle gomoku, as a computer search by Victor Allis and his colleagues showed in the early 1990s.
Play it here.
Play the computer from Easy to Hard, a friend on the same device, or a friend far away by a link. On a phone, tap once to aim and again to place a stone.
Further reading
Topics: gomoku rules · five in a row rules · how to play gomoku · gobang rules · freestyle gomoku
A little less theory. A little more doing.
Try it on your own terms, with a free browser tool.
Try the tool