HannahMoku

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.

5 Min Read · Updated October 2026

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.

Gomoku board showing black placing the first stone in the center and white answering diagonally
Black opens in the center. White answers next to it, here on the diagonal.

Taking Turns

  1. Black moves first and usually places the first stone on the center point.
  2. Players then take turns placing one stone of their color on any empty intersection.
  3. 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 black gomoku stones in a diagonal line, a winning five in a row
Five in a row on the diagonal. Lines across, down and diagonal all count.

Five Or More: The Overline Rule

What happens if you make six or more in a row? That depends on which rules you play:

Six black stones in a row, called an overline in gomoku
Six in a row is called an overline. Freestyle gomoku counts it as a win; the Exactly Five rule does not.

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

Common Beginner Mistakes

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:

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.