Last updated: March 29, 2026
Place stones on the grid and connect five in a row to win Gomoku, the classic five-in-a-row strategy game. Play vs CPU or a friend.
Loading game...
Gomoku is a two-player placement game where you try to line up five stones in a row before your opponent does. It grew up on Go boards in Japan during the Edo period (1603 to 1868), where it was called Gomoku Narabe, meaning five points in a row. The earliest verified book on the game, the Gomoku Joseki Collection, appeared in 1856. In 1899 the Tokyo Renju Club formalized the restricted variant called Renju to fix Black's huge first-move advantage. Computer scientist L. Victor Allis proved in 1994 that freestyle Gomoku is a forced win for the first player with perfect play, a result that explains why tournament Renju adds special rules for Black. A 2021 study in NeuroImage linked abstract board-game play to stronger activity in the prefrontal cortex during planning tasks. Place your first stone and start reading the board.
Black opens on the center intersection of the 15x15 board. White responds one point away to limit Black's reach. Both players then extend outward, building connected pairs that can grow into threes.
Black places a stone that completes an open three running horizontally and another running diagonally at the same time. White can only block one direction. Black converts the other into an open four and wins on the following move.
White spots Black's gap four, X X _ X, which would win next turn. White plays into the empty intersection, splitting the line and preventing the five. Recognizing gap fours is what separates intermediate players from beginners.
Play Gomoku in your browser with no download. Choose Easy, Medium, or Hard CPU, or switch to 1v1 and play a friend on the same device. Our version highlights winning lines, tracks moves, and lets you restart instantly. Place your first stone and go for five in a row.
Yes. L. Victor Allis proved in 1994 that freestyle Gomoku is a forced win for the first player with perfect play. That result is why tournament Renju adds forbidden moves for Black, including double threes, double fours, and overlines, to restore balance.
The standard board is 15x15 intersections. Some casual play uses a 19x19 Go board. The larger board gives Black even more space to build threats, which is one reason tournament Renju sticks to 15x15 with restrictions.
In freestyle Gomoku, yes. Any line of five or more wins. In strict Renju rules, an overline of six or more is a foul for Black and loses the game, which is a key balancing rule.
An open four is a line of four stones with both ends empty. The defender can block one end, but the attacker plays the other end to complete five. The only defense is to stop the four from becoming open in the first place.
Gomoku distills placement strategy into five stones in a row. Build open threes, fork with double threats, and block gap fours before they win. Play the CPU at three levels or challenge a friend locally. Place your first stone now.
The king of strategy games
Classic jumping board game
Classic race board game
Classic dice board game with snakes and ladders
Connect four discs in a row
Strategic disc-flipping game
Classic disc-flipping strategy game
Classic X and O strategy game