How To Play Gomoku: Rules For Beginners
Gomoku is one of the simplest strategy games to learn and one of the hardest to master. Here are the complete rules, explained in plain language with diagrams.
What Is Gomoku?
Gomoku is a two player board game where you race to line up five stones in a row. The name comes from Japanese: go means five and moku is a counter for pieces. You may also know it as five in a row, gobang, wuziqi in Chinese or omok in Korean. They are all the same core game.
It is usually played with black and white stones on the lines of a Go board. You do not need to know anything about Go to play.
The Board And Stones
The standard board today is a grid of 15 x 15 lines. Stones are placed on the intersections, not inside the squares. Older sets often used the larger 19 x 19 Go board, which works fine too. One player plays black and the other plays white.

Taking Turns
- Black moves first and usually places the first stone on the center point.
- Players then take turns placing one stone of their color on any empty intersection.
- Stones never move and are never removed in classic gomoku.
How To Win
The first player to make an unbroken line of five stones of their color wins. The line can run across, down or diagonally.

Five Or More: The Overline Rule
What happens if you make six or more in a row? That depends on which rules you play:
- Freestyle gomoku: five or more in a row wins. This is the most common casual rule.
- Standard gomoku (Exactly Five): only exactly five wins. A line of six or more, called an overline, does not count.

In HannahMoku you can switch between the two with the Longer Lines Count setting.
What If The Board Fills Up?
If every intersection is taken and nobody has five in a row, the game is a draw. On a 15 x 15 board this is rare, because someone almost always finds a line first.
Quick Rules Summary
- Two players, black and white. Black goes first.
- Take turns placing one stone on any empty intersection.
- First to get five in a row across, down or diagonally wins.
- Decide before you start whether six or more in a row also wins.
Gomoku Terms To Know
- Open three: three in a row with both ends empty. It must be answered.
- Four: four in a row that can become five next turn. It must be blocked immediately.
- Open four: four in a row with both ends empty. It cannot be stopped.
- Fork: one move that creates two threats at once, such as a four and an open three.
- Overline: six or more stones in a row.
Common Beginner Mistakes
- Only attacking. If you ignore your opponent's open three, they get an open four and the game is over.
- Blocking too late. Block threes, not fours. By the time a line has four stones, it is often too late.
- Forgetting diagonals. Diagonal lines are the ones new players miss most often.
- Playing far away. Stones far from the action rarely help. Most good moves are close to existing stones.
How Long Does A Game Take?
Most casual games last between 5 and 15 minutes. Beginners often finish in 20 to 40 moves, while close games between strong players can run much longer as both sides block and counter.
Variations You Can Try
Once you know classic gomoku, small rule changes keep it fresh:
- Captures: trap two enemy stones to remove them, like in Pente.
- Gravity: stones drop to the bottom of the column, like Connect Four.
- More players: play with 3 or 4 people using multiplayer gomoku rules.
- Clocks: add a chess clock or a shot clock for faster, more intense games.
Compare the rule sets in gomoku vs renju vs Pente.
Play Gomoku Online For Free
You can practice everything on this page in HannahMoku, a free gomoku game that runs in your browser on phones, tablets and computers. Play on one device, or send a link and play friends online, with undo, move review and optional threat hints to help you learn.
When you are ready for a real opponent, open the online hub and press Quick Match to play someone new in seconds. Sign in with Google to get a rating, climb the gomoku leaderboard from Bronze to Diamond and earn Stars for new chips, auras and win effects in the shop.
Want to play away from a screen? Grab the free printable gomoku board. Curious why gomoku is also called gobang, omok or caro? See gomoku names and rules around the world.
Next Steps
Once the rules click, the real game is about threats: lines that force your opponent to respond. Read our guide to gomoku patterns to learn the shapes that matter, then put them to work with these gomoku strategy tips.

