About Gomoku
One stone at a time, the grid fills up with black and white, and every placement either builds your line or cuts off your opponent's. Gomoku has one of the simplest rule sets of any board game: get five of your stones in a row across, down or diagonally. Getting there is a lot harder, because your opponent is watching every line you start.
This version uses a 15x15 board and freestyle rules, so six or more in a row counts as a win too. Stones never move or get captured, which means the board only gets more crowded. Play a friend on the same screen, or face the computer on Easy, Medium or Hard. Undo, Resign and a few display settings round it out, and your unfinished game stays saved in the browser.
How to play Gomoku
- Choose 2 Player (local) or vs Computer, picking your color and level for a computer game.
- Black moves first, then players alternate turns.
- Place one stone on any empty intersection each turn.
- Build lines of your own while blocking your opponent's open rows.
- Win by completing five or more in a row; a full board with no line is a draw.
Gomoku controls
| Input | Action |
|---|---|
| Left click | Place a stone |
| Tap | Place a stone |
| Arrow keys | Move between points |
| Enter | Place a stone |
How to play Gomoku on PC and mobile
On PC, laptop or Chromebook
- Press Play on this page – the game loads right here, with nothing to download.
- Click Fullscreen under the game for the biggest view. Press Esc to exit.
- Click once inside the game so it receives your keyboard input.
- Controls: Left click place a stone; Arrow keys move between points; Enter place a stone.
On phone or tablet
- Open this page in Chrome or Safari and tap Play.
- Turn your device to portrait – the game is designed for a tall screen.
- Touch controls: Tap to place a stone.
- Tap Fullscreen to hide the browser bars.
Tips and tricks
- Three stones with open space at each end are more dangerous than a four that's already capped on one side.
- Look for one move that sets up two threats at once; your opponent can only stop one.
- Block open threes right away before they grow into an open four.
- Start near the center so your lines have space to grow in every direction.
Gomoku FAQ
Can two people play on one device?
How tough is the computer?
What does Undo do against the computer?
Can I play Gomoku for free?
Does Gomoku work on Chromebook and mobile?
Who made Gomoku?
Credits and license
- Original game
- PaperGames – Gomoku (Five in a Row)
- Made by
- Christopher Müller
- Source code
- github.com/YourChaosChris/PaperGames
- Code license
- MIT
- Art and sound
- MIT (grid and stones drawn with CSS, no image or audio files)
Gomoku runs from this site with small changes, which are listed in “What we changed”. The original license and credits are kept with the game files.