Take turns placing black and white stones on a 15 × 15 board. The first to get exactly five (or more) in an unbroken line wins. Play the computer or a friend on one screen.
You (Black)0
Draws0
Computer (White)0
Your move
Place stones on the intersections. The first player to line up five stones in a row horizontally, vertically or diagonally wins. Keys: arrows + Enter to play, U undo, H hint, N new game.
Advertisement
Advertisement
How to use the Gomoku
Choose a mode. Play vs Computer and pick Easy, Medium or Hard, or switch to 2 players.
Pick your color and rule. Black always moves first. Freestyle counts six or more in a row as a win; Exactly five does not.
Place a stone by clicking or tapping any empty intersection. Stones never move once placed.
Build and block lines. Make open threes and fours while watching your opponent's lines. Red rings warn you when they can make five.
Get five in a row horizontally, vertically or diagonally to win. Use Undo move or Show hint whenever you need.
Gomoku shapes to know
Almost every Gomoku game is decided by threats. Learning to recognise these shapes, for yourself and your opponent, is the fastest way to improve. In the patterns below, ● is a stone and · an empty point.
Shape
Example
What it means
Five
●●●●●
Win.
Open four
·●●●●·
Unstoppable: two points complete five and the opponent can block only one.
Four
○●●●●· or ●●·●●
Threatens five on one point. Must be blocked immediately.
Open three
·●●●· or ·●●·●·
Becomes an open four next move unless blocked now.
Four-three
a four and an open three made by one stone
Usually a winning double threat.
Double three
two open threes made by one stone
Often wins in freestyle Gomoku (forbidden for Black in Renju).
Strategy tips
Always check for fours first. Before anything else, look for a point where your opponent could complete five. Turn on Warn about threats to have these marked in red.
Block open threes early. Once an open three becomes an open four, the game is over. Block on the side that also helps your own stones.
Attack in two directions. Place stones where they extend lines in several directions at once. Moves near the center of your group create double threats later.
Use forcing moves. A four forces a reply. Chaining fours (a VCF, victory by continuous fours) or fours and threes (VCT) lets you set up a winning double threat while your opponent can only respond.
Keep the initiative. In Gomoku the attacker usually wins. When you are not forced to defend, add to your own threats instead of making passive moves.
Frequently asked questions
What are the rules of Gomoku?
Two players take turns placing a stone of their color on an empty intersection of a 15 × 15 grid. Black plays first. The first player to form an unbroken line of five stones horizontally, vertically or diagonally wins. If the board fills up first, the game is a draw.
What is the difference between freestyle and standard Gomoku?
In freestyle Gomoku a line of six or more stones (an overline) also wins. In standard Gomoku only exactly five in a row wins, and an overline does not count. You can choose either rule here.
Is Gomoku the same as Renju or Gobang?
They are closely related. Gobang is another name for five in a row. Renju is a professional variant that adds restrictions for Black (no double-threes, double-fours or overlines) and special opening rules to balance the first-move advantage. This game uses plain Gomoku rules without those restrictions.
Does the first player have an advantage?
Yes. Freestyle Gomoku on a 15 × 15 board was proven to be a win for the first player with perfect play by L. Victor Allis in 1994. In practice games between people are still very open, but playing Black is easier.
What are an open three and an open four?
An open three is three stones in a row with both ends empty, so it threatens to become an open four. An open four is four in a row with both ends empty: it can't be blocked, because the opponent can only cover one end. Making two threats at once, such as a four and an open three, is the usual way to win.
How strong is the Hard computer?
Hard scores every candidate move by the threats it creates and blocks, searches for a forced win by continuous fours (a sequence where every move threatens five), and checks that its move does not allow you such a forced win. Easy and Medium use only the threat scoring, and Easy adds randomness.