Gomoku
Gomoku is the game of five in a row: two players take turns placing stones on a large grid, and the first to line up five wins. It feels like tic-tac-toe grown up, with enough room for real attacks, traps and defense. Play the Gomoku game here for free in your browser.
As soon as the page opens, you play Black against the computer at Medium, and Black moves first. Tap New game to choose Easy, Hard or 2 players.
How it works
The Gomoku board here is a 15×15 grid, and stones go on the intersections. Players alternate placing one stone at a time; stones never move and are never captured. Five or more of your stones in an unbroken line, horizontally, vertically or diagonally, wins the game. Lines longer than five count too.
The game uses freestyle rules: there are no restrictions on Black and no opening swap. If the board ever fills up without a winner, the game is a draw. For more detail, see how to play Gomoku.
Placing stones
With a mouse, click any empty point. On a phone, where the points are small, the first tap shows a faint ghost stone and a second tap on the same point places it, so a slip of the finger never costs you the game. Undo is free and unlimited; against the computer it takes back your stone and its reply.
Modes
- Easy: looks only a little ahead and sometimes plays loosely. Good for learning to spot open threes.
- Medium: the default. It blocks most threats and builds its own lines.
- Hard: searches deeply, never plays at random, and also hunts for forced wins made of consecutive fours. Read more on Gomoku vs computer.
- 2 players: two people share one screen. See 2 player Gomoku.
Tips
Our Gomoku strategy page explains these patterns with examples.
- Start near the center. Lines can grow in every direction from there.
- Never ignore an open three, three stones in a row with both ends empty. It becomes an unstoppable open four next move.
- Aim for a double threat, such as a four and an open three at once. Your opponent can only stop one.
- Defend by blocking the end that also helps your own lines.
- Keep your stones connected diagonally as well as straight; diagonal threats are the easiest to miss.
FAQ
- Does a line of six count?
- Yes. Here five or more in a row wins, so longer lines count.
- Are there renju restrictions?
- No. The game uses freestyle rules with no restrictions on Black and no swap rule.
- Who goes first?
- Black always moves first. Against the computer you are always Black.
- Is Gomoku free here?
- Yes. It is free in your browser, and an unfinished game is saved automatically.



