Five in a Row (Gomoku)
Place stones. Get five in a line to win.
How to play Five in a Row
Five in a Row — also called Gomoku, Gobang or Caro — is played on the intersections of a 15×15 grid. One player has black stones, the other white. Black moves first.
Rules
- Players take turns placing one stone on any empty intersection.
- Stones are never moved or removed once placed.
- The first player to form an unbroken line of five or more stones horizontally, vertically or diagonally wins.
- If the board fills up with no line of five, the game is a draw.
Rule variant used here
This version uses freestyle Gomoku: a line of six or more also counts as a win, and there are no restrictions on the first player. Tournament variants such as Renju add extra rules for black to balance the first-move advantage.
Strategy tips
- Learn the threats. An open four (four in a row with both ends empty) cannot be blocked and wins next turn. An open three must be answered at once or it becomes an open four.
- Make double threats. Most games are won by one move that creates two threats at the same time — for example, a four and an open three — so your opponent can only block one.
- Attack keeps the initiative. While you keep making threats your opponent must respond, and they never get time to build their own.
- Play close to the action. Stones far from the existing cluster rarely matter. Keep your moves connected to your own stones and to your opponent's weak points.
- Always check for their four. Before attacking, look for any line of four your opponent could complete next move.
Five in a Row FAQ
Is Gomoku the same as Caro or Gobang?
Yes. Gomoku, Gobang, Caro (popular in Vietnam) and Five in a Row are names for the same family of games: line up five stones on a grid. Small rule details differ by region.
Does a line of six count?
In this freestyle version, yes — five or more in a row wins.
Does the first player have an advantage?
Yes, black has a significant advantage in freestyle Gomoku. Swap colours between games with a friend, or let the computer start to make it fair.
Why is the board 15×15?
15×15 is the standard size used in modern Gomoku and Renju tournaments. It is large enough for long games but still fits nicely on a phone screen.