Gomoku Openings
The first moves as X and as O, and how to make the opening fair
Why the opening matters so much
In Gomoku the player who moves first is always one stone ahead. With no restrictions on that player - the rules used on this site - the advantage is large: free-style Gomoku on a 15×15 board was shown by computer analysis in the 1990s to be a win for the first player with perfect play. Nobody plays perfectly, but it means X should be attacking from the start and O should expect to defend accurately for a while before getting chances of their own.
The opening is the phase where neither side has a three yet. What you are fighting for is shape: stones that cooperate in several directions, with room to grow.
Move one: take the centre
A stone in the middle of the board can become part of a line in all four directions with full room on both sides. A stone on the edge has lost about half of that potential before the game starts, and a corner stone even more. On the 10×10 board this is especially sharp: there are so few cells that a first move away from the centre gives the advantage straight to O.
Move two: direct and indirect openings
O’s first stone normally goes right next to X’s. Opening theory borrowed from Renju names the two possibilities:
Renju catalogues 26 standard openings built from these two starts, depending on where the third stone goes inside the central 5×5 area. You do not need to memorise them to play well here, but the classification is useful: after a direct opening O has taken one of X’s straight lines, after an indirect opening O has taken one of X’s diagonals. X’s third stone should develop along the lines that are still free.
As O, do not answer the first move from a distance. A far-away stone blocks nothing and leaves X to build a second and third stone in peace.
Move three: X builds a shape
X’s second stone should work with the first and stay away from the line O has already cut. Good third moves have these properties:
- Close to the first stone - adjacent or one cell apart, so the two can become a three with one more move.
- On a line O is not already blocking - if O sits directly above your first stone, building straight down from it makes a line that is already closed at one end.
- Facing open space - develop toward the larger empty part of the board, not into O’s stone or toward a nearby edge.
From here X is aiming for a compact group of three or four stones in which several pairs point in different directions. That is the raw material for the double threats described in patterns and strategy.
Playing the opening as O
- Stay in contact. Keep your stones touching or one cell away from X’s group for the first several moves.
- Block the direction with the most room. When X has an open two, the dangerous extension is toward the open centre, not toward the edge or your own stones.
- Take the intersection. When two of X’s pairs point at the same empty cell, that cell is where the fork will happen. Occupy it.
- Make your blocks do something. Each defensive stone should, if possible, line up with one of your earlier stones. O’s counter-attack almost always grows out of stones that were originally placed to block.
- Do not block twos one by one. You cannot stop every pair. Save your moves for open threes and for intersection points.
Making the opening fair: the swap rule
Competitive Gomoku balances the first-move advantage with opening rules. The simplest is the swap rule, and you can use it on this site in vs Player mode without any special setting:
- One player makes the first three moves alone: an X, an O and another X, anywhere on the board.
- The other player looks at the position and chooses to be X or O.
- Play continues normally from there, with O to move.
Because the player who sets up the position does not know which side they will get, they have to create a position that is balanced. It works for the same reason that “you cut, I choose” works for sharing a cake.
Swap2
Modern tournaments use an extended version called Swap2. After the first three stones, the second player has a third option besides choosing a side: place two more stones (one O and one X) and pass the choice of side back to the first player. This stops the first player from preparing a three-stone position they have studied in depth. See rule sets for how Swap2 fits with other tournament rules.
Opening mistakes to avoid
- Starting on the edge. It feels safe and gives away half your options.
- Building one straight line. Two, three, four in a single row gets blocked at one end, then the other, and you have spent four moves on nothing.
- Making an early four “to see what happens”. It forces a block, puts an opposing stone next to your group, and leaves you with a dead line.
- Scattering stones. Stones more than two cells apart rarely help each other. Early on, keep everything within a 5×5 area.
- Ignoring a split three. X·XX with open ends is as urgent as XXX. Many opening losses come from not seeing it.