How to play gomoku: the rules in one page
Gomoku is a two-player game: you take turns placing black and white stones, and whoever gets five in a row first wins. You can learn the rules in a minute, but to win you need to read what your opponent is up to. This page goes from the board to forbidden moves, and then you can start a game of gomoku online right away.
The board and the stones
- The board has 15 × 15 lines. Stones go on the intersections, not inside the squares.
- One player has black, the other white. There are always enough stones.
- The small dots on the board are just markers to help you find your way. They have no special rules.
How a game goes
- Black moves first. Then you take turns, one stone at a time.
- The first move usually goes on the center point.
- Stones never move and are never captured. That’s a big difference from Go.
How to win
Across, down or diagonal — the first player to line up five stones wins.
If the board fills up and nobody has five, it’s a draw. That almost never happens; the game is usually decided long before.
Freestyle and standard rules
The two rule sets differ in just one thing — whether more than five counts:
- Freestyle: five or more in a row wins. This is the most common way to play, and what most friends play.
- Standard: exactly five wins. Six or more in a row (an overline) doesn’t count, and the game goes on. Same for both colors.
If it’s your first game, pick Freestyle. Standard asks for more precise reading and is more common in tournaments. Our free gomoku lets you choose either.
Renju: forbidden moves for black
The player who moves first has a big advantage. To make things fair, serious tournaments often use renju rules: black may not make the three shapes below — doing so loses on the spot. White has no restrictions.
- Double three: one move that makes two open threes at once.
- Double four: one move that makes two fours at once.
- Overline: six or more in a row.
Under renju, black’s main way to win is the four-three, which is always allowed.
Some people play that neither side may make a double three — agree on it before you start. This site currently offers Freestyle and Standard only, with no forbidden moves.
Tournaments also use opening rules such as Swap2: one player sets up the first few stones, and the other then picks black or white. That way nobody dares to set up something too one-sided.
Why moving first is an advantage
The first player is always one stone ahead, so their attack is always one step faster. Under freestyle rules with no forbidden moves, it has been proven by computer that black wins with perfect play.
So when you play a friend, take turns being black. Against the AI here you can pick your color, and in online play the colors swap with every rematch.
Three tips for beginners
- Start in the middle: near the center you can grow in eight directions; at the edge you lose half of them.
- Deal with open threes first: three in a row with both ends open becomes an unstoppable open four next move. See how to block an open three.
- Make two threats with one move: your opponent can only block one spot at a time, so a four plus an open three wins. That’s called a four-three.
To learn more shapes, see the gomoku patterns page. To learn how to win, read how to win at gomoku.
Play a game
Now that you know the rules, the fastest way to improve is to play. Start with the beginner AI, then move up to intermediate — it starts making open threes you have to block. Want to play a friend? Open a room for two-player gomoku from the home page. No sign-up, no download.
FAQ
Do gomoku and Go use the same board?
Similar, but not the same. Go uses 19 lines; gomoku usually uses 15. In both, stones go on the intersections, but in gomoku stones are never captured.
Does black always move first?
Yes, in gomoku black always moves first. Because that’s an advantage, players take turns being black, or use rules like renju or Swap2 to keep things fair.
Does six in a row win?
It depends on the rules. Freestyle: yes. Standard: no, the game goes on. Renju: six in a row is a forbidden move for black and loses, but it wins for white.
What are forbidden moves?
Under renju rules, three shapes black may not make: double three, double four and overline. If black makes one, black loses. White has no such limits.
Does the first player always win in gomoku?
Under freestyle rules with no forbidden moves, computers have proven that the first player wins with perfect play. But people rarely play every move perfectly, so real games go both ways.
Can I play gomoku in my browser?
Yes. This site lets you play the AI or other players online straight away — no download, no sign-up, on phone or computer.