hoshi

Play Gomoku

Five in a row wins.

Play now

Play Gomoku online

Five in a row, right in your browser: free, without an account and without a download. Pick a time control and you are playing within seconds.

What is Gomoku?

Gomoku is a strategy game for two players on a board of 15 × 15 lines. Black and White take turns placing one stone on an empty point, and whoever first gets five of their own stones in an unbroken line wins: across, up and down or diagonally. In English it is often simply called “five in a row” or “5 in a row”, and you may also know it as Gobang. In Japan it is called Gomoku-narabe, in Korea Omok and in China Wuziqi.

The rules take a minute to learn, yet every game is a race of threats. A single stone can attack in four directions at once, and one missed block is often the end.

Black has five in a row, diagonally from f6 to j10, and wins.

Ways to play on Hoshi

Hoshi works the same on phone and computer. Choose how you want to play:

  • Quick game: Hoshi finds you an opponent for the time control you pick.
  • Invite a friend: send a link. Your friend can join without an account.
  • Bots: ten computer opponents from level 1 to 10, clearly marked as bots. They calculate in your browser.
  • Local game: two players share one device and take turns.
  • Correspondence: take 1, 3 or 7 days per move and play alongside everyday life.
  • Rated games: with a free account you get your own Gomoku rating, separate from Go.

Time controls

Every time control has an increment. The first number is the minutes on your clock, the second the seconds added after each of your moves. The default is 3+2.

PaceTime controls (minutes + seconds per move)
Bullet1+0, 1+1, 2+1
Blitz3+0, 3+2, 5+0
Rapid10+0, 15+10, 30+0

Your first game

Black places the first stone, usually in the middle of the board at h8. From the centre your lines have room to grow in every direction; near the edge they run out of space quickly.

Before each move, ask two questions in this order. First: does my opponent threaten anything? An open three or any four must be answered now. Second: can I make a threat myself? Beginners rarely lose because they attack too little. They lose because they overlook a three on the other side of the board.

An empty board; the gold dot marks the centre point h8, where Black usually starts.

The rules in short

Stones are never moved and never captured. If all 225 points are filled and nobody has five, the game is a draw; online you can also resign or lose on time. Hoshi offers two win rules: “5 or more”, where six or more in a row also win, and “Exactly 5”, where a line of six does not count. Rated games start with the Swap2 opening, which makes the first move fair. The rules page explains each point with a diagram.

Learn and practise

If you want to improve quickly, Hoshi has everything in one place: short lessons with tasks on the board in ten chapters, more than a thousand puzzles, a daily puzzle and Gomoku Puzzle Rush against the clock. After a game against a bot, the analysis in your browser shows the moves that decided it. Puzzles you got wrong collect in “My mistakes”, so you can repeat them later.

Frequently asked questions

Is Gomoku the same as five in a row?

Yes. “Five in a row” and “5 in a row” are English names for Gomoku. Gobang, Gomoku-narabe, Omok and Wuziqi are other names for the same game.

Do I need an account to play?

No. Quick games, games with friends, bots, local games and puzzles all work without signing up. A free account gives you rated games, a Gomoku rating and your games on several devices.

Is Hoshi free?

Yes. There are no ads and no tracking.

Can I play on my phone?

Yes. Hoshi runs in the browser on phone and computer, with nothing to install.

How long does a game take?

That depends on the time control. A bullet game is over in a few minutes, rapid games take longer, and in correspondence you have up to seven days for each move.

Will I play against people or computers?

Your choice. Quick games and invite links pair you with people. Bots are always labelled as bots.