Gomoku
Place alternating black and white stones on a 15-by-15 grid. Connect five or more in a straight horizontal, vertical, or diagonal line to win.
How it works
Try it in your browser.
Players alternate placing one stone on any empty intersection. The first player to create a continuous line of five or more stones horizontally, vertically, or diagonally wins.
- Tap an empty board intersection, or choose its row and column and press Place at selected intersection.
- After each move, the live status names the next player and the board accepts their stone immediately.
- Reset to seeded start clears all stones and returns the cursor to the center.
How to play
How to Play
The fifteen-by-fifteen board begins empty with the placement cursor at the center and Player X moving first. Choose one empty intersection and place a stone; the live status immediately identifies the next player for their placement. This opening sequence establishes the current board and makes clear whose move or puzzle action comes next, so there is no hidden setup to infer.
A line is counted from the newly placed stone in four axes, including both directions along each axis, so a connection may extend on either side. Every intersection has a row and column name, the selected coordinate is repeated in touch-friendly selectors, and the live status names the next player. Treat the visible board as the source of truth: a rejected move leaves the game state unchanged, while an accepted action updates the counters and the accessible status message.
Create a continuous horizontal, vertical, or diagonal line containing at least five of your stones before the opponent does. Each legal placement alternates the active player; no stone is removed and the board is retained until the line is complete or the grid fills. A completed result stays visible until you choose to reset, which gives you time to read the outcome before deciding whether to try another arrangement.
Input and access
Controls
- Tap an empty intersection directly or use the Row and Column selectors followed by Place at selected intersection for a larger mobile control. Each action is a labeled native button or standard form control; on a touch screen, tap once to choose and once more only when the game explicitly asks for a destination or confirmation.
- The row and column selectors work with keyboard input, and the Place button accepts Enter or Space. The 225 board buttons also expose their coordinate as an accessible name. Tab follows the visible control order, and Enter or Space activates a focused button. The status message describes accepted moves and rejected choices in words, so the board does not depend on color, sound, or animation alone.
- After a stone is placed, the next player can place directly; Reset to seeded start clears the board and places the cursor in the center. The Reset to seeded start control restores the same starting state instead of continuing a previous run. If the page becomes hidden or loses browser focus, input and any running clock pause; returning restores the same board and remaining time.
A complete round
Rules & Scoring
A move places exactly one stone on an empty intersection. Lines may run in any of four axes and may be longer than five; there are no capture rules, blockers, or special opening restrictions. The module validates the selected action before committing it, and an illegal or unavailable choice does not change a score, move total, turn, or puzzle clue. There is no remote opponent, purchase, or network-dependent game state.
Gomoku has no numerical score. The visible move count is a record of placements, and the first player to make a line of five or more is the winner. The scoreboard shows the measures that matter for this title, such as moves, found items, remaining seconds, captured pieces, or claimed squares. It does not award points for speed unless the displayed rule explicitly says that time is a limit.
The game ends immediately after a winning line appears, or in a draw when all 225 intersections are occupied without a line of five. An ordinary player change is not a completion event. This is the only normal game-over boundary for the current session; ordinary selections, mode changes, successful intermediate moves, and player changes are not completion events. A reset starts a reproducible new attempt and clears the previous result.
A steadier start
Tips
- Watch for open lines that can be extended at either end, not only a completed row that already looks close to five. A single move can create two threats that the opponent cannot block at once.
- Use the coordinate readout when placing a stone near a crowded cluster. Thinking in row and column values can make a threat easier to discuss during pass-and-play than pointing at a small intersection.
- Do not leave an opponent’s line of four with an open end if you can block it. Since a line can grow in both directions and exceed five, count connected stones on each side of the new placement.