FIVE IN A ROW. GAME ON.
Gomoku Game
Take turns placing stones on the board, think several moves ahead, and outmaneuver your opponent by connecting five in a row in this classic strategy game of foresight and precision.
Gomoku, also known as Five in a Row, is a classic two-player strategy board game. Two players take turns placing black and white stones on the intersections of a grid. The first player to line up five stones in a row wins.
The game is easy to learn and hard to master. It has simple rules, but it rewards planning, pattern recognition, and careful defense. Gomoku is related to older Asian board games and is played around the world in casual and competitive settings.
This online version plays in your browser, with no download or installation. It has a wooden board and polished black and white stones. You can play against a computer opponent with six difficulty levels, or against a friend on the same device. Other features include timed games, tournaments, hints, move history, replay, and detailed statistics. The game works on desktop, tablet, and mobile, in both light and dark themes.
Be the first player to place five of your stones in an unbroken line. The line can run:
If the board fills up before either player makes five in a row, the game is a draw.
Useful controls include Undo, Redo, Hint, Pause, Resign, Flip Board, Zoom, and Fullscreen. Keyboard shortcuts are also available: U for undo, R for restart, H for a hint, and plus and minus to zoom.
This game supports three rulesets. The main difference is what counts as a win.
Freestyle Gomoku
Standard Gomoku
Renju
Swap Opening Rule (optional) One player places the first three stones: Black, White, then Black. The other player then chooses which color to play. This makes the opening fairer, because the first player cannot simply choose the strongest start.
Other options
Gomoku is a two-player strategy game where players take turns placing black and white stones on a grid. The first to make five in a row, horizontally, vertically, or diagonally, wins. It is also called Five in a Row.
It is similar in idea, but much deeper. Gomoku is played on a much larger board and needs five in a row instead of three. It has far more strategy, including attacking threats and planning ahead.
Black always moves first. If you choose White, the computer plays Black. You can also pick your color at random.
Yes. Choose Local 2-Player to take turns on the same device. Turn on pass-and-play to have the board rotate to face the player whose turn it is. Online matchmaking is not available.
Six: Beginner, Easy, Medium, Hard, Expert, and Unbeatable. Unbeatable is the strongest computer opponent available here. It is very strong, but it is not guaranteed to be impossible to beat.
In Freestyle, five or more in a row wins. In Standard, only exactly five wins, and six or more does not count. Renju adds restrictions for Black (no overlines, double-threes, or double-fours) to balance the first-move advantage.
Moving first gives Black the initiative. Renju restrictions and the Swap opening rule exist to make games fairer.
Use 15x15, the standard size, for a typical game. Choose 9x9 or 13x13 for quicker games and 17x17 or 19x19 for longer games. You can also set a custom size.
Yes, unless you turn undo off in Settings. Against the computer, undo takes back your last move and the computer's reply. In Local 2-Player mode it takes back one move. Undo is not available after a game ends, but you can review the finished game.
Yes. Turn on timed mode and choose a time per player and an optional increment. If a player's clock runs out, that player loses. You can instead set the clock to warn you and keep playing.
Yes. A hint highlights a recommended move and can explain why it is good. You can turn explanations off. The number of hints used is tracked for each game.
Yes. Unfinished games, statistics, match history, and your settings are saved in your browser, and you can choose Continue Game when you return. If your browser blocks storage, the game still works, but nothing is saved after you leave the page.
No. Practice games are not counted. You also get extra help, such as highlighted winning moves and threats.
Yes. The layout adapts to the screen, the touch targets are large, and the board stays square. You can also zoom in on large boards.
Yes. Use the sun and moon button in the upper-right corner. The wooden board keeps its look in both themes.
Yes. Choose Classic wood, Light oak, Dark walnut, Bamboo, or Minimal modern, or pick a custom color. You can also adjust the grid, stone size, shadows, and highlights.
Yes. Sound effects are subtle and can be turned off in one click. In Settings, you can switch each sound on or off separately and set the volume.