Gomoku

About Gomoku

Gomoku, also called five in a row, is a classic strategy game played on the intersections of a 15×15 grid. Black and White take turns placing one stone at a time, and the first player to form an unbroken line of five stones horizontally, vertically or diagonally wins. The rules take seconds to learn, but building double threats while blocking your opponent's open threes and fours takes real skill.

Play against the computer on Easy for a relaxed game, or switch to Hard, where the AI scores every shape on the board, looks several moves ahead, blocks dangerous threats and launches its own forcing attacks. Choose whether you or the computer moves first, or pick 2 players to play a friend on the same screen. The last move is marked, and the winning five are highlighted when the game ends.

The board scales to fit any screen. On a phone, tap once to preview your stone and tap again to place it, so you never misplace a move; on a desktop a hover preview shows where your stone will go. No download or sign-up is needed, undo is always available, and unfinished games are saved automatically.

How to play

  • Click an intersection to place your stone; on touch screens tap once to preview and tap again to confirm.
  • Line up five stones in a row — horizontally, vertically or diagonally — to win.
  • Block your opponent's open threes and fours before they become unstoppable.
  • Keyboard: arrow keys move the cursor, Enter places a stone, U undoes.
  • Use the buttons above the board to choose 1 or 2 players, the difficulty and who goes first.