Rotate your phone
This game is wider than a portrait screen. Turn your device sideways for comfortable play.
Gomoku, or "five in a row", pits you against the computer on a 13x13 board. You place the black stones, the computer answers in white, and the first to line up five stones wins. Three computer levels, from easy to hard, with no account and no install.
Gomoku, or "five in a row", is played by two on a 13x13 grid. You place the black stones, the computer plays white, and you move first.
On your turn, click any empty intersection to place a stone. The goal is to line up five of your stones in a row in any direction: across, down or diagonally. The first to do so wins the game; if the board fills with no line, the game is a draw. Unlike Connect Four, stones do not drop, you are free to place each one wherever you like.
The computer does not look dozens of moves ahead, that would be far too slow on such a large board. Instead it scores every empty cell by summing the value of the patterns it would create for both colours: an open four is worth a fortune, an open three is still a serious threat. On easy it only wins, blocks and plays near the centre; on medium it applies this scoring within a small radius; on hard it uses it in full, weighting your threats slightly higher so it defends well. Undo to take a move back, or ask for a hint to see a strong move.
A row of three stones with both ends free threatens to become an unstoppable four. Your opponent is forced to block it, which hands you the initiative and time to set up your next threat.
Look for a move that opens two fours at once. The computer can only block one per turn, so the other line lets you complete five on the following move.
The moment the computer lines up four stones with an open end, you must block it right away. An open four left alone means you lose on the next move.
The middle of the board opens the most directions to build a line. Placing your first stones near the centre multiplies your options and limits the opponent's.
A line of five stones in a row wins the game. The game files set no rule against longer lines, so six or more stones in the same direction also count as a win. The aim is simply to reach at least five in a row.
Yes. On easy the computer only wins when it can, blocks your threats and plays near the centre. On medium it scores cells within a small radius; on hard it uses that scoring in full and weights your threats more heavily, so it defends better.
You always do, with the black stones. The computer plays white and responds after each of your moves. Moving first gives a slight edge, as long as you use it to seize the initiative in the opening.
No. Gomoku runs straight in your browser with no sign-up or login. You can play as many games as you like and switch levels whenever you want.
Yes. Once the page has loaded, everything runs in your browser and no connection is needed to play. You can keep going even without a network.
No. Because Gomoku is played against the computer, there is no daily grid: every game is generated on the fly. Come back as often as you like and there is always a fresh game waiting.