Omok (Gomoku)
Omok (five-in-a-row) — play vs AI or two players.
What is this?
Omok (Gomoku) is played on a 15×15 board where two players alternate placing stones. The first to line up 5 stones in a row — horizontally, vertically, or diagonally — wins. Use the Mode control to play vs AI (against the computer) or 2 players (two people taking turns on one device).
How to play
Click any intersection to place a stone at the nearest point. In vs AI you play Black and the computer replies with White automatically; in 2 players both people alternate placing Black and White. The game ends the moment either side completes 5 in a row. Use Undo to take back the last move (two stones vs AI, one in 2 players), or New game to restart. Changing the mode starts a new game.
How does the computer AI play?
On each turn the computer scores every empty point by counting consecutive stones for itself and its opponent, and whether the line is open on either end. It immediately blocks the opponent's 4-in-a-row, prioritizes completing its own 4-in-a-row, and also responds to open 3-in-a-rows.
Privacy
Game progress is shown only in your browser and is never sent to or stored on a server.