← Play in PhoneThe stone board · gomoku

Tactical

Go Five

15×15 board5 in a rowAI opponent

You are black, the computer is white. Tap a point to aim, tap it again to place. First to five in a row wins, so block the computer when it gets close.

Your turn ⚫You 0 · AI 0
Pattern Workshop

Try Gomoku patterns on a separate board. Workshop moves never enter your match or saved records.

Black ● · White ○ · winning points: Black +, White !

All Games

Playing Gomoku against this AI

Gomoku is played on the points of a 15x15 grid, and the winner is the first to place five stones in an unbroken line, across, down or on either diagonal. You hold black and move first. Aiming is two-step to protect against fat-finger mistakes: the first tap puts a marker on a point, the second tap on the same point places the stone.

The computer scores every nearby empty point for both sides, takes any immediate five, and blocks yours. Normal adds some randomness to avoid repeating itself. Hard also searches for forcing sequences, where each move threatens a five and the opponent has only one reply, up to 12 moves deep within about 0.6 seconds, and it checks that its chosen move does not hand you a double threat.

Undo reverses your last move and the AI reply. Hint highlights a point worth considering. The Pattern Workshop section on the page loads classic shapes, such as open threes and fours, onto a separate practice board, so you can see which points win without risking your match. Wins, losses, draws, streak and fastest win are saved per difficulty on your device.

Questions

Does black have a big advantage?

In unrestricted Gomoku, yes, the first player has a theoretical edge, which is why the AI levels matter more than the colour here.

What is an open three?

Three stones in a row with both ends free. If you leave one, your opponent must block immediately or you make an open four that cannot be stopped.

Are overlines of six or more stones a win?

Yes. This game counts five or more in a line, with no renju-style restrictions on black.