Gomoku — Five in a Row Board Game vs Computer Online

Play Gomoku, the classic five-in-a-row game, free in your browser. Place X and O marks on a 15×15 board and connect five before the computer does.

#board #strategy #two-player

How to play

Tap a cell to place your mark, or drag to aim with the floating cursor. Connect five in a row — across, down or diagonally — to win.

About Gomoku — Five in a Row Board Game vs Computer Online

Gomoku — also known as Five in a Row, Gobang, or Cờ Caro in Vietnam — is one of the oldest and most widely played abstract strategy games in the world. Its roots reach back to ancient China and Japan, where it was played with Go stones on a wooden board. The same game later spread across notebooks and classroom desks everywhere, scribbled in pen as X and O marks, which is exactly how millions of people first learned it.

The rules are wonderfully simple. You and the computer take turns placing your mark on a 15×15 grid. The first to line up five of their own marks in an unbroken row — horizontally, vertically or diagonally — wins the game. There is nothing to memorise and no setup: every match starts on an empty board and is decided purely by the moves you make.

Behind that simplicity sits real tactical depth. Skilled play is all about creating threats — rows that are one move away from five — and especially double threats that cannot all be blocked at once. This browser version lets you play instantly against a computer opponent on three difficulty levels, with no download, no account and no ads interrupting the board.

Tips & strategy

  • Open near the centre. Central cells belong to more potential lines than any corner or edge, so they give your marks the most room to grow.
  • Learn to spot an open three — three of your marks in a row with both ends empty. Left alone it becomes an open four, which simply cannot be stopped.
  • A four (four in a row with at least one open end) forces your opponent to block immediately, which hands you a free tempo to build elsewhere.
  • The winning idea is the double threat: one move that creates two separate four-in-a-row chances at once. Your opponent can only block one of them.
  • Attack and defend with the same stone. The best blocking moves also extend one of your own lines.
  • Don't play purely defensively. If you only ever block, the computer keeps the initiative and slowly builds a position you can't escape.
  • On Hard the computer reads one move ahead, so a single obvious threat won't fool it — set up traps that only spring after it responds.

Frequently asked questions

What is Gomoku?

Gomoku is a two-player strategy game played on a 15×15 grid. Players alternate placing marks, and the first to make five in a row — across, down or diagonally — wins. It is also called Five in a Row, Gobang and, in Vietnam, Cờ Caro.

How do you win at Gomoku?

You win the moment you connect five of your own marks in a straight, unbroken line in any direction. The key skill is building several threats at once so your opponent cannot block them all.

Is Gomoku the same as tic-tac-toe?

They share the idea of lining up marks, but they are different games. Gomoku uses a much larger 15×15 board and needs five in a row instead of three, which gives it far deeper strategy. Careful tic-tac-toe almost always ends in a draw; Gomoku rarely does.

Is Gomoku the same as Cờ Caro?

Yes. Cờ Caro is simply the Vietnamese name for Gomoku, the classic five-in-a-row game traditionally drawn as X and O marks on grid paper. The rules are identical.

Does the player who moves first always win?

On a completely open board the first player has a strong advantage and, with perfect play, can force a win. This version keeps matches enjoyable by offering Easy, Medium and Hard opponents instead of strict tournament rules.

Can I play Gomoku on my phone?

Yes. Tap a cell to place your mark, or press and drag to move a floating cursor so your fingertip never hides the target square — then lift to confirm. The board scales to fit any screen.