About Gomoku
The game in brief
Gomoku (五子棋, five in a row) has one rule: be the first to get five of your stones in an unbroken row, across, down or diagonally. Black and White take turns to put one stone on any empty point of a 15 by 15 board, and Black starts. Stones never move and are never taken.
This is free-style Gomoku. Six or more in a row wins as well as five, and neither side has forbidden moves. If all 225 points fill up with no five, the game is a draw.
Threats: the words worth knowing
- Four: four stones that one more would turn into five. The other side has to block at once.
- Open four: four in a row with both ends empty. There are two ways to make five and only one can be blocked, so it wins.
- Open three: three stones that could become an open four next move. It must be answered too, unless you have a four of your own to play first.
- Double threat: one stone that makes two fours, a four and an open three, or two open threes. One reply can rarely stop both, and this is how most games are won.
Playing here
Click a point to play there. On a touch screen the points are small, so the first tap shows a faded stone and a second tap on the same point plays it. With a keyboard, the arrow keys move between points and Enter or Space plays. The last stone has a ring, and a win draws a line through the row.
Play vs Computer as Black or White, or choose 2 players to share one device. The computer runs in your browser and has five levels:
- Beginner looks one move ahead with a lot of randomness, and about one move in seven goes anywhere near the stones.
- Easy looks two moves ahead and can still overlook a threat.
- Medium looks four moves ahead with a little randomness.
- Hard looks six moves ahead and also searches for wins where every move makes a four.
- Expert searches up to twelve moves ahead, looks for longer runs of fours, and thinks for up to three seconds a move.
Beat the computer and your number of stones goes on that level's top-10 leaderboard, fewest first. Undo takes back your last stone and the computer's reply, but a game where you used it isn't scored.
Tips
- Count open threes after every move, the other side's as well as yours. Most losses come from one that nobody noticed.
- Block on the side that helps you. An open three can usually be stopped at either end; choose the end where your stone also builds a row of your own.
- Stay near the centre. A stone in the middle can be part of a row in four directions, while one on the edge has far less room.
- Look at the diagonals. They are harder to see than rows and columns, for you and for whoever you play.
- Don't spend your fours early. Each one forces a reply, so keep it until it also builds something else.
Frequently asked questions
- What is the difference between free-style Gomoku and Renju?
- Renju stops Black from making a double three, a double four or a row of more than five, to balance the advantage of moving first. Free-style Gomoku, played here, has no forbidden moves, and five or more wins for both sides.
- Does Black have an advantage?
- Yes. Moving first is a real advantage in free-style Gomoku, and with perfect play Black wins on a 15 by 15 board. Play as White for a harder game.
- Is Gomoku the same as tic-tac-toe or Go?
- It uses a Go board and stones, but nothing is captured and there is no territory. Like tic-tac-toe, you are trying to make a row, only of five and on a much bigger board.
- Is it free, and do I need an account?
- It is free in your browser with no download or account. Signing in adds the online leaderboards, EXP and money.