Gomoku is a five-in-a-row game played by placing black and white stones on the points of a 15x15 grid. It looks like a bigger tic-tac-toe, but it plays very differently, because the open board lets both players build many lines at once. Winning is about pattern spotting: seeing a shape that turns into two threats before your opponent does. This version from the PaperGames collection offers a three-level computer and a local two-player mode.
Rules in brief
Black places the first stone, and players alternate after that. Each turn you put one stone on any empty intersection. Stones are never moved and never captured, so every placement is permanent.
The first unbroken line of five or more stones of one color wins. It can run across, up and down or diagonally. If the whole board fills without one, the game is a draw. Undo takes back your last stone, plus the computer’s reply in a solo game.
Gomoku Controls
| Action | Keyboard | Mouse | Touch |
|---|---|---|---|
| Place a stone | Arrow keys to move between points, Enter to place | Click an empty intersection | Tap an empty intersection |
| Start a two-player game | — | Click "2 Player (local)" | Tap "2 Player (local)" |
| Start a game against the computer | — | Click "vs Computer", pick a color and level, then click "New game" | Tap "vs Computer", pick a color and level, then tap "New game" |
| Take back your last stone | — | Click "Undo" | Tap "Undo" |
| Give up the current game | — | Click "Resign" | Tap "Resign" |
Patterns to recognize
Most of Gomoku is reading shapes. Learn these names and you will see the board more clearly:
- Open three: three in a row with empty points at both ends. It threatens to become an open four.
- Broken three: a pattern like stone, stone, gap, stone. It is just as dangerous but harder to notice.
- Four: four in a row with one end open. It must be blocked at once.
- Fork: one stone that creates two threats, such as a four plus an open three. This is how most games are won.
Ways to play better
- Stay close to the center early. Lines there can grow in every direction.
- Block an open three right away, ideally on the end that also helps your own lines.
- Attack and defend with the same stone whenever you can.
- Take black when you face Hard. The first move is a real advantage in freestyle play.
Handy Details
The computer only considers points near existing stones, and Hard searches a few moves ahead after checking for wins and blocks. Your game is saved in the browser between visits. For a shorter line game, try Four in a Row. For stones and territory instead of lines, try Go.
Tested and updated:













