Five in a row (gomoku), 3D

Line up five stones on a 15x15 3D board against the computer: free-style gomoku with three levels, hints and undo.

🔒 Your data stays in your browser: nothing you type or upload is sent to a server.

How it works

Take turns placing stones on a 15x15 board; the first to line up five or more in a row, horizontally, vertically or diagonally, wins. This is the free-style version with no restrictions, so the first player (black) has a theoretical advantage. Play the computer at three levels or a friend, with hints and undo.

Common questions

Why does the first player have an advantage?

In free-style gomoku, with no restrictions and perfect play, black can force a win. Competitive rule sets (Renju, swap openings) restrict black or let the other side choose to balance this. Here it is kept simple: play second against the computer for a harder game.

Does a line of six or more win?

Yes: in this free-style version five or more in a row wins and no move is forbidden.

Is my game saved? Do I need an account?

No account. The game in progress, your settings and your results against the computer are stored in this browser only, so you can close the page and continue later on the same device. Nothing goes to a server.

Does it work without 3D (WebGL)?

Yes. If your device or browser cannot show 3D, or you choose the 2D view in the board options, the same game is drawn flat. It also works with touch, mouse and keyboard, and respects the reduced-motion setting.

Related tools