We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
Was this tool helpful to use?
Your feedback helps us make it better
Play Gomoku against a simple local computer opponent or take turns with a friend on the same device.
Click on an intersection to place your stone. Connect five in a row horizontally, vertically, or diagonally to win.
Total Moves
0
Black's Moves
0
White's Moves
0
Game Rules
Overview
Understand what the tool solves, how it works, and the boundaries of its data.
This Gomoku game gives you two ways to play on one screen: challenge a simple computer opponent or pass the device between two people. Choose a 13×13, 15×15, or 19×19 board. Black always takes the first turn. Place a stone on an empty intersection; the first color to make a continuous line of five or more stones horizontally, vertically, or diagonally wins. A full board without a winning line is a draw.
The board is a grid of intersections, and each move fills one intersection. The highlighted last stone helps you see the most recent move; after a win, the game marks five stones from the winning line. The result area reports the current status and total move count, with separate counts for black and white. These counts describe the current board, not a saved match record.
The computer has Easy and Normal settings. It weighs its own potential lines against the opponent's threats, with more defensive weight at Normal. It is a lightweight opponent for casual practice, not a ranked player or a guarantee of optimal play.
This game wins on five or more consecutive stones, does not restrict Black's moves, and starts Black immediately. Official Gomoku competition rules published by the Renju International Federation instead specify a 15×15 board, exactly five, and a Swap 2 opening. That distinction matters if you are rehearsing for an event: follow the event's rules rather than treating this game's result as an official ruling. Read the International Rules of Gomoku.
Guide
Follow the workflow and verify inputs and outputs with practical examples.
Select Vs. AI to play as Black against the computer, or 2-Player to share the board with a friend. In both modes, Black starts.
Choose 13×13, 15×15, or 19×19. In Vs. AI, choose Easy or Normal. Changing the mode, board size, or difficulty starts a fresh game and clears the stones.
Click an unoccupied intersection. In 2-Player mode, the turn alternates between Black and White. Against the computer, make a Black move and wait for its White move before playing again.
Watch the turn status and move counts as play continues. Undo removes the latest move in 2-Player mode. In Vs. AI, it normally removes the most recent pair of player and computer moves; undoing after a win can remove the winning move so play can continue. Restart clears the board while retaining the selected settings.
Use cases
See how the tool fits into real work and everyday tasks.
Play the computer on a smaller board and watch for lines that could become four or five. Undo a move to compare a defensive block with extending your own line.
Choose 2-Player when both people can take turns on the same device. The board and turn indicator provide a shared view of whose move comes next.
Pick 13×13 for a more compact board or 19×19 for more space to build patterns. Use Restart to begin another game with the same setup.
Q&A
Find concise answers to common questions and confusing cases.
Yes. The game ends when the last move creates at least five consecutive stones of one color; it does not require exactly five.
No. In Vs. AI, you play Black and move first; the computer plays White. Black also starts in 2-Player mode.
Changing the mode, board size, or AI difficulty resets the match. Choose your settings before starting a game you want to keep playing.
During a normal Vs. AI game, Undo usually takes back your last move and the computer's reply together, returning the turn to you. In 2-Player mode it removes one move at a time.
Notes
Review scope, result limitations, and important precautions before use.
Related
Discover related tools, collections, and available API capabilities.