Spark AI GamesAll games
Rules guides › Gomoku

How to play Gomoku

Gomoku, also called Five in a Row, is a simple and fast strategy game for two players. Take turns placing stones, and be the first to make an unbroken line of five.

  • 2 min read
  • Card & board games
  • Play vs computer
Play Gomoku free
Gomoku game

The board and stones

  • Our game uses a 15×15 board. Stones go on the points where lines cross.
  • One player has dark stones (Onyx) and the other light stones (Jade). Onyx always moves first.
  • Players take turns placing one stone on any empty point. Stones never move and are never captured.

How to win

The first player to make a line of five stones in a row wins. The line can go across, down or diagonally. If the whole board fills up and nobody has five, the game is a draw.

Rule sets in our game

RuleWhat changes
Five or more (default)Freestyle. Five in a row wins, and so does a longer line of six or more.
Exactly fiveOnly a line of exactly five wins. A line of six or more (an overline) does not count, for either player.
Pro openingFreestyle, but Onyx’s first stone must go in the centre and Onyx’s second stone must be at least 3 lines away from the centre. This cuts down the first player’s big head start.

Tournament Renju adds extra bans for the first player (no double threes or double fours). Our game does not use those bans.

Words to know

  • Four: four in a line with room for a fifth. You must block it at once.
  • Open four: four in a line with both ends empty. It can’t be blocked in time, so it wins.
  • Open three: three in a line with both ends empty. If you leave it, it becomes an open four next turn.
  • Four-three: one stone that makes a four and an open three at the same time. Your opponent can only stop one.

Ways to play

  • Play: against a robot from Pip to Nova, a friend on the same device, or a friend online, with any of the three rule sets.
  • Journey: 6 chapters of lessons, puzzle sets and robot matches.
  • Puzzles and Daily: a big library of win-by-fours puzzles, plus three new ones each day.
  • Five Rush: solve as many puzzles as you can in 150 seconds for the leaderboard.

Tips to win

  • Play near the centre early. Stones there can join lines in every direction.
  • Always check your opponent’s last stone first. Block every four and every open three before you attack.
  • Attack with fours. A four forces a reply, so a chain of fours lets you lead the game where you want it.
  • Aim for a four-three or a double three. Two threats at once is how most games are won.
  • When blocking an open three, block on the side that also helps your own lines.
Ready to play?Gomoku is free on phone, tablet and computer.
Play
More rules guidesSee all
More board and card gamesSee all
GomokuFree · no download
Play