Loading...

Gomoku

Classic Gomoku (Five in a Row). Play vs AI or two players. Multiple AI difficulties.

Free ForeverNo DownloadPlay in BrowserMobile Friendly

How to Play

Black and white take turns placing stones. First to connect five in a row (horizontal, vertical, or diagonal) wins. Click to place a stone.

Objective

Black and white take turns placing stones on board intersections. The first player to connect five stones of the same color in a row — horizontally, vertically, or diagonally — wins. Expert difficulty enables VCF (Victory by Continuous Four) search and 6-ply minimax. Forbidden moves can be enabled to restrict Black.

Controls

• Click a board intersection to place a stone
• vs AI: choose a difficulty and play against the computer
• 2 Players: two players take turns on the same device
• Undo: revert the last move (undoes two moves in vs AI mode)
• Move History: view the record of all moves
• Black moves first

Tips & Strategy

• Prioritize the center of the board for maximum control
• Build multiple open threes/fours simultaneously — your opponent can't block them all
• Watch for defense: block your opponent's open three promptly
• An "open four" (four in a row with both ends open) is a guaranteed win
• Easy AI is good for beginners; Hard AI requires deep calculation
• Expert AI uses VCF search to find precise victory-by-continuous-four sequences
• With forbidden moves enabled, Black cannot play double-three, double-four, or overline

Frequently Asked Questions

How to play Gomoku?
Classic Gomoku (Five in a Row). Play vs AI or two players. Multiple AI difficulties. Open it directly in your browser and start playing instantly — no setup needed.
Is Gomoku free?
Yes, all games on GameHub are completely free to play with no signup required.
Can I play Gomoku on mobile?
Yes! All games support touch controls. Just open the page in your mobile browser and play.
Do I need to download Gomoku?
No download needed. All games run in your browser — just open the page and start playing immediately.
Back to Game