Gomoku — Five in a Row

Gomoku is a casual strategy classic: take turns placing stones on a 15×15 board and be the first to line up five in a row — horizontally, vertically, or diagonally. You play black and move first; the computer plays white. Pick a difficulty and try to outsmart it.

Your turn — place a black stone.

How to play

  • Click any empty intersection to place a black stone. The AI replies with a white stone.
  • Get five of your stones in an unbroken line — across, down, or diagonally — to win.
  • Switch the AI to Easy for a more relaxed game, or Hard for a sharp opponent that builds threats and blocks yours.