Gomoku.net
Home > How to Play Gomoku > Classic Gomoku Rules: What Counts as a Horizontal and Vertical Line?

Classic Gomoku Rules: What Counts as a Horizontal and Vertical Line?

2026-07-12 00:09:51

At its core, Gomoku (Five in a Row) is a game of pure geometry. Aligning five stones in a straight line sounds conceptually simple, but beginners frequently make mistakes regarding what actually constitutes a valid winning row on a 15x15 board. While complex diagonal traps are highly celebrated by advanced strategists, horizontal and vertical lines remain the most common and robust paths to victory. If you are learning the essential Gomoku rules, understanding the absolute mathematics of these straight alignments is your first step. This guide offers an expert breakdown of what counts as a valid horizontal or vertical line, how board boundaries impact them, and how to spot them in our global Gomoku online lobby.

1. Defining the Valid Horizontal Line

A horizontal line consists of exactly five contiguous stones of the same color placed on adjacent intersections along a single horizontal grid line. On a professional board, the horizontal rows are mapped using coordinates from letters A to O. To count as a valid win, your five stones must align horizontally across consecutive columns (for example, H5, J5, K5, L5, and M5—recalling that 'I' is omitted in tournament logs). The sequence must be entirely unbroken; any gap, even if it is a single vacant intersection, invalidates the win-hand until the gap is filled.

2. Defining the Valid Vertical Line

Similarly, a vertical line consists of exactly five contiguous stones of the same color placed on adjacent intersections along a single vertical grid line. The vertical columns are mapped using coordinate numbers from 1 to 15. A valid vertical win requires your five stones to align across consecutive rows within the same column (such as H3, H4, H5, H6, and H7). Just like the horizontal line, the vertical alignment must be completely continuous, with no vacant intersections or opposing stones interrupting the five-stone chain.

3. The Misconception of Blocks: Do Blocked Ends Matter?

A very common point of confusion for novices is whether a five-stone line can win if one or both of its ends are blocked. Here is the absolute competitive ruling:

  • Before Five (Four-Stones): If your line of four is blocked on both ends, it is a dead line, as you can no longer complete it. If it is blocked on one end, it is a Closed-Four and must be completed immediately on the remaining open end to win.
  • At Five (Completed Line): Once you place the final stone to achieve exactly five contiguous stones, you win instantly. It does not matter if both ends are blocked by opponent stones or the edge of the board. The moment five are joined, the match terminates in your victory.

4. Overcoming Vertical and Horizontal Visual Blind Spots

During an intense, long-lasting match on a 15x15 board, human eyes easily suffer from visual fatigue. Players naturally scan the local areas around their last move, often completely missing a distant vertical open-three or a horizontal straight-four being quietly built elsewhere. This cognitive blind spot is where many matches are lost. To prevent this, always expand your gaze to cover the entire board before placing a stone. Never assume your opponent is only attacking in the quadrant where you are currently playing. Constant vigilance across the horizontal and vertical axes is the mark of a master.

Sharpen Your Line Recognition in Real-Time!

Being able to spot and block straight horizontal and vertical threats is the core of solid defense. Practice your pattern recognition against our computer bot in single player Gomoku mode, or take your honed skills into our global lobbies to challenge real players under competitive rules.

Interactive Practice Sandbox

Play this tactical opening setup against our smart computer AI engine now.

Play AI (Practice)