Gomoku (Five in a Row)

Play Gomoku (five in a row) online on a 15×15 board under freestyle rules: five or more in a row wins. Play the computer at three levels as black or white, or two players on one device, with undo. Free, no sign-up, no ads.

Runs in your browser · Free
Move 0

Your move

How to play Gomoku

Play Gomoku (five in a row) online on a 15×15 board under freestyle rules: five or more in a row wins. Play the computer at three levels as black or white, or two players on one device, with undo. Free, no sign-up, no ads.

Controls
Click an intersection to place a stone; before a game, choose the computer or two players, the computer’s level and who goes first
Features
Wins detected with the five highlighted; three computer levels; undo and new game; the last move marked
Processing
Runs in your browser, the computer player included; nothing is uploaded
  1. Choose “vs computer” or “two players”; against the computer, choose a level and whether you play black (first) or white.
  2. Click an intersection to place a stone. Black moves first and the players alternate; the computer answers your move by itself.
  3. The first to line up five or more stones in a row, column or diagonal wins. Undo a slip, or start a new game at any time.

FAQ

Are there forbidden moves?

No. This is freestyle gomoku: both sides may make double threes, double fours and overlines, and five or more in a row in any direction wins.

How strong is the computer?

Easy misses some defences and suits beginners; normal weighs every point by the shapes it makes and blocks clear threats; hard also looks a few moves ahead and attacks. Every level completes a five when it can and always blocks yours.

How does undo work?

Against the computer, one undo takes back your move and its reply; with two players it takes back the last move.

Do I need an account or a connection?

No. The game runs in your browser, the computer’s thinking included, and nothing is uploaded.

More games