Gomoku

Classic two-player board game, first to form a line of five stones wins

Black's Turn

Game Over!

Black Wins!

Gomoku Game Rules

Basic Rules

Gomoku is a two-player board game played on a 15×15 grid. Players take turns placing black and white stones on the board.

The player who first forms an unbroken line of five stones horizontally, vertically, or diagonally wins.

How to Play

  • Black plays first, then players alternate turns
  • Once placed, stones cannot be moved
  • Win by forming 5 stones in a row (horizontal, vertical, or diagonal)
  • If the board is filled without a winner, the game is a draw

Controls

Click on the board intersections to place your stone.

Use the "Restart Game" button to start a new game at any time.

Game Settings

Choose Your Color

Play as Black
Play as White

Game Mode

Player vs Player
Player vs Computer

Gomoku: The Ancient Game of Connection

Gomoku, also known as Five in a Row, is one of the most ancient board games still widely played today. With roots stretching back over 4,000 years, this seemingly simple game of aligning five stones has fascinated players across cultures and generations.

Historical Journey

The history of Gomoku begins in ancient China during the Zhou Dynasty (1046–256 BC), where it evolved from earlier board games that used the same 19×19 grid as Go. Initially called "Wuziqi" (五子棋) in Chinese, which literally translates to "five piece chess," the game spread throughout East Asia over centuries.

Time Period Development
1046-256 BC Originated in China during the Zhou Dynasty
4th century Spread to Japan where it became known as "Kakugo"
7th century Introduction to Korea as "Omok"
19th century Introduction to Western world
1960s Official tournament rules established in Japan
1989 First Computer Gomoku World Championship
2009 Establishment of the International Gomoku Federation

In Japan, the game became known as "Kakugo" in the 4th century, and later as "Gomoku Narabe," which was eventually shortened to simply "Gomoku." The name "Gomoku" became the internationally recognized term, derived from the Japanese words "go" (five) and "moku" (pieces).

Today, Gomoku is played worldwide, with professional tournaments, international organizations, and a growing community of online players. Its perfect blend of accessibility and strategic depth makes it appealing to players of all ages and skill levels.

Strategic Mastery: From Basics to Advanced

Beginner Strategies

  • Center Control - Always aim to control the center of the board first, as it offers the most potential lines for creating sequences.
  • Defensive Play - Block your opponent's potential four-in-a-rows immediately, as these represent an immediate threat to lose.
  • Two-Way Attack - Try to create situations where you have multiple ways to win, forcing your opponent to defend in more than one place.
  • Pattern Recognition - Learn to recognize basic patterns like "open threes" (three stones in a row with empty spaces at both ends) which can quickly become winning moves.

Intermediate Tactics

  • Fork Tactics - Create "forks" by positioning stones to form multiple threats simultaneously, forcing your opponent into impossible defense situations.
  • Indirect Approaches - Instead of playing directly adjacent to existing stones, sometimes playing one intersection away creates more powerful long-term threats.
  • Sacrifice Plays - Occasionally sacrificing a defensive move to create a stronger attacking position can surprise your opponent.
  • Diagonal Strategy - Diagonal lines are often harder to detect and defend against than horizontal or vertical alignments.

Advanced Techniques

The VCF (Victory by Continuous Four)

VCF is a forced win sequence where you create a series of "four" threats that your opponent must respond to, eventually leading to a winning five-in-a-row. This technique requires calculating several moves ahead and understanding how forced responses can be leveraged.

The VCT (Victory by Continuous Three)

Similar to VCF but using "three" threats, VCT is even more complex as it requires longer sequences of forcing moves. Mastering VCT patterns allows players to win even when no immediate four-in-a-row threats are available.

Key Pattern: The Double-Three

Creating two separate "open threes" simultaneously is one of the most powerful moves in Gomoku. This forces your opponent to block one threat, allowing you to convert the other into a "four" and subsequently win the game on the following move.

Example sequence: If you can create a situation where blocking one three creates another, you've essentially guaranteed a win.

Cognitive Benefits of Gomoku

Spatial Reasoning

Gomoku enhances your ability to visualize and manipulate patterns across the two-dimensional board. Players constantly evaluate potential lines in multiple directions, strengthening mental spatial mapping abilities.

Strategic Planning

The game develops forward thinking and planning ability. Players must anticipate multiple future moves and consider various branching possibilities before making each decision.

Pattern Recognition

Regular players develop an intuitive understanding of stone patterns and their implications, improving general pattern recognition abilities that transfer to other areas of life and learning.

Concentration

Gomoku demands sustained attention and focus. Maintaining awareness of the entire board while evaluating specific moves builds concentration skills applicable to work, study, and other cognitive tasks.

Educational Applications

Gomoku is increasingly used in educational settings to develop critical thinking and mathematical reasoning. The game promotes:

  • Logical sequence understanding
  • Probability assessment
  • Algorithmic thinking
  • Decision-making under constraints

Studies suggest that students who regularly play strategic board games like Gomoku show improvements in mathematical problem-solving and analytical thinking skills.

Gomoku Variants Around the World

Different cultures have developed unique variations of Gomoku, each with its own rules and strategic considerations:

Variant Origin Key Rules
Standard Gomoku International First to form an unbroken row of five stones wins
Renju Japan Special rules for black (first player) to balance the game, including forbidding certain patterns
Caro Vietnam Played on a 15×15 board with special blocking rules
Pente United States Players can capture pairs of opponent stones; capturing 5 pairs also wins
Ninuki-renju Japan Combines elements of Go and Gomoku; capturing opponent stones
Connect6 Taiwan Each player places two stones per turn; six in a row wins

Professional Competitions

Today, Gomoku is played at professional levels in many countries, with several international competitions:

Recommended Games

If you enjoy Gomoku, you might also like these other strategic games on our platform:

Sliding Puzzle

Test your spatial reasoning with this classic puzzle game.

2048

Merge tiles and reach 2048 in this addictive number game.

Snake

Guide the snake to food while avoiding obstacles in this classic.

Tetris

Stack falling blocks efficiently in this timeless puzzle game.

Read Our Comprehensive Gomoku Guide