Gomoku Online
Align 5 stones in a row to win. Play the classic Japanese board game against a smart AI or challenge friends locally.
Match Setup
Black (P1)
0
Draws
0
White (AI)
0
Learn Gomoku (Five in a Row)
Gomoku, also known as Five in a Row, is a traditional abstract strategy board game. Originating in China as Wuziqi and popularized in Japan, it is played with black and white stones on a grid. While it uses rules and symbols reminiscent of Tic Tac Toe, Gomoku is vastly deeper, comparable to chess in its tactical complexity.
Official Game Rules
The rules of Gomoku are elegant and easy to learn:
- The game is played on a grid (our board is 12x12 intersections).
- Players alternate turns placing a stone of their color (Black or White) on any vacant grid intersection.
- The first player to form an unbroken line of exactly five stones horizontally, vertically, or diagonally wins the game.
- If the board is completely filled and neither player has achieved five in a row, the game is declared a draw.
Winning Tactics & Gomoku Strategy
To win at Gomoku, you must build attacking lines while proactively shutting down your opponent's configurations. Key strategies include:
- The Open-Ended Three: An open three consists of three stones in a line with open spaces at both ends. Once placed, your opponent is forced to block one end, allowing you to build an unblockable open four on your next turn.
- The Double-Four Fork: The primary offensive move to secure victory. Setup two overlapping lines containing open four-stone configurations. Since the opponent can only block one line per turn, the other line is guaranteed to win.
- Proactive Defense: Always count your opponent's stone lines. Block any line containing three stones immediately unless you have an immediate four-stone threat of your own.
Frequently Asked Questions
What is the difference between Gomoku and Renju?
Gomoku is the free-play variant with no restrictions. Renju is the professional variant designed to eliminate the first-player (black stones) advantage. Renju imposes restrictions on Black, such as banning double-threes and double-fours.
Does getting six in a row count as a win in Gomoku?
In standard free Gomoku, yes, a line of 5 or more stones (called an overline) is considered a win. In other strict variants, a player must get exactly five in a row to win. Our online version counts 5 or more as a win.
Who has the advantage in Gomoku?
The first player (Black) has a significant advantage. In games played on large boards without restrictions, a perfect first player will always win. This is why professional play uses Renju rules to level the playing field.
Looking for a Simpler Game?
Try our standard Tic Tac Toe modes or play 4x4 grid variations to practice basic fork strategies!