Gomoku is a classic 15x15 Five in a Row board game. Black moves first, and the first player to connect five stones horizontally, vertically, or diagonally wins. Play against the computer or switch to Two players on the same screen.
This page is one of the games PCder is comfortable recommending first: the controls are clear, the source trail is visible, and the game fits a desktop browser session.
Quick answer
How Gomoku works
Gomoku (Five in a Row) is played on a 15x15 grid of intersections. Black moves first, players alternate placing one stone on any empty intersection, and the first player to form an unbroken line of five stones horizontally, vertically, or diagonally wins. PCder supports Freestyle Gomoku against the computer or in Two players mode with Undo turn.
Best for
A classic 15x15 Five in a Row board game with clear rules, AI, and two-player mode.
Related searches
gomoku online, gomoku rules, how to play gomoku, five in a row browser game
How to play
How to play Gomoku
Pick your opponentLeave Opponent on Computer to play Black against the browser, or choose Two players to share one screen.
Place stones on intersectionsClick or tap any open grid crossing. Black opens first, usually near the center star point.
Create open lines and block threatsWatch for opponent lines of three with both ends open, and block them before they become an unstoppable four.
Connect five in a rowForm five stones in a horizontal, vertical, or diagonal line to win the match.
Player guide
Build open threes and forks in Gomoku
A single straight line of four is easy to block if one end is already closed. Winning Gomoku players build open threes (three stones with both ends free) and double threats that force a win on the next turn.
Start near the center star point so your lines can expand in all four directions.
Always block an opponent open three before chasing a slower attack.
Look for a single intersection that creates two open threes at the same time.
Tactics
Why open threes decide most Gomoku games
A single closed four forces one defensive move, then momentum passes back. An open three (three connected stones with empty intersections on both ends) forces an immediate response, and combining two open threes in one move creates a fork that cannot be blocked.
Keep your stones connected across diagonals as well as straight rows. Isolated stones on opposite corners rarely build winning threats.
Stay near the center 7x7 zone during the first ten moves.
Check diagonal lines before every turn; diagonal threes are the easiest to miss.
Use Undo turn to test a defensive block when you get caught in a fork.
Modes
Computer opponent or two-player Goban
In Computer mode, White evaluates immediate wins, forced blocks, open fours, and open threes across all four directions.
Switch Opponent to Two players anytime to play a casual Five in a Row match with a friend on the same laptop or tablet.
Common questions
Gomoku FAQ
What are the basic Gomoku rules?
Two players alternate placing Black and White stones on the intersections of a 15x15 board. Black moves first, stones do not move once placed, and the first player to line up five stones horizontally, vertically, or diagonally wins.
What is the difference between Gomoku and Go?
Both use a wooden grid and black and white stones, but Gomoku has no captures or territory scoring. Your only goal in Gomoku is to connect five stones in a row.
Does a line of six stones still win here?
Yes. PCder uses Freestyle Gomoku rules where five or more stones in a row wins.
Can I play Gomoku against a friend on the same screen?
Yes. Change the Opponent dropdown at the top left from Computer to Two players.