Back to index
Overview
Four in a Row icon 4R

Four in a Row

1-2 players · 3-10 min per session

Be the first to connect four of your discs horizontally, vertically, or diagonally on the 7×6 board. If all 42 cells fill before either side connects four, the game ends in a draw.

Players: 1-2P Session length: 3-10 min
Board GameStrategyTwo Player

Goal & Core Rules

Be the first to connect four of your discs horizontally, vertically, or diagonally on the 7×6 board. If all 42 cells fill before either side connects four, the game ends in a draw.

  • Every move is made by choosing a column. Your disc always drops to the lowest open cell in that column, so gravity and stack height are part of the strategy.
  • The current implementation always uses the classic 7 columns × 6 rows board with a 4-in-a-row win condition; there are no larger boards, alternate targets, or random starting layouts.
  • Red always moves first. In VS AI modes you play Red and the computer plays Gold; Two Player alternates both colors locally, and Computer vs Computer lets both sides play automatically.
  • A winning line can be horizontal, vertical, or diagonal. If the board fills without a four-disc line, the match is a draw.
  • This build keeps the standard drop-only rule set. It does not include PopOut rules (removing your own bottom disc), Pop 10 scoring races, power-checker abilities, or the official 9×6 five-in-a-row variant with prefilled side columns.
  • Because the rules never change across difficulties, Easy / Normal / Hard represent different computer search strength and mistake rates, not different boards or win conditions.

Current implementation: classic 7×6 gravity rules

Every turn is a single top-drop move on a fixed 7×6 board, with Red moving first and four in a row winning.

Common variant: PopOut

PopOut lets a player remove one of their own discs from the bottom row, collapsing the column. That creates moving board states, unlike this build's fixed-stack tactics.

Common variant: wider or five-in-a-row boards

Some official or digital variants widen the board, prefill side columns, or even change the target to five. This implementation stays on the classic 7×6 board and always aims for four.

Controls

Mouse

  • Click a column to drop your disc into the lowest open slot.
  • Top menu: restart, choose another mode, open help, or return to the hub.

Keyboard

  • There are currently no dedicated keyboard-only shortcuts.

Touch

  • Tap a column to drop your disc.
  • After your move in VS AI, the computer replies automatically after a short think delay.
  • Top menu: restart, change mode, open help, or return to the hub.

Beginner Tips

  • Open near the center whenever you can. The middle columns participate in more possible four-in-a-row lines than the edges.
  • Block any immediate winning threat before chasing a slow attack of your own.
  • Remember that vertical stacks also create diagonal chances: a harmless-looking support disc can make a later diagonal win possible.

Advanced Tips

  • The strongest turns often do two jobs at once: they block one enemy threat while creating your own follow-up threat.
  • Think in playable squares, not just empty squares. Because discs fall, some tactical ideas are impossible until lower cells are filled first.
  • Use Computer vs Computer to study center fights, urgent blocks, and how stronger AI avoids giving up double threats.

Origins & History

Connect Four was created by Howard Wexler and first sold by Milton Bradley in February 1974. Wikipedia also documents alternate names such as Four in a Row and Captain's Mistress, and notes that the classic 7×6 game was independently solved in 1988 by James Dow Allen and Victor Allis. That solved result explains why center control matters so much: with perfect play, the first player can force a win from the standard opening position.

Timeline

  1. 1974 Milton Bradley first sold Connect Four, bringing the vertical drop-board format to a mass audience.
  2. 1988 James Dow Allen and Victor Allis independently solved the classic 7×6 game and showed it is a first-player win with perfect play.

Notable People

  • Howard Wexler Credited creator of Connect Four and the vertical drop-board format sold in 1974.
  • Ned Strongin Co-designer associated with the game's early commercialization.
  • Victor Allis Computer scientist whose 1988 work independently solved classic Connect Four.

Trivia

  • The standard board used here is the same 7 columns × 6 rows format most people associate with classic Connect Four.
  • Wikipedia lists more than 4.5 trillion legal positions for the standard game, which explains why simple rules still create deep tactics.

FAQ

Which Four-in-a-Row rules does this implementation use exactly?

It uses the classic gravity-drop rules on a fixed 7×6 board. You choose a column, the disc falls to the lowest open space, Red moves first, and four in a row wins. If the board fills before anyone connects four, the result is a draw.

How is this different from PopOut, Pop 10, or other common variants?

Those variants change the action economy. PopOut lets you remove one of your own bottom discs and collapse a column, Pop 10 starts from a filled board and scores removed discs, and some official variants widen the board or even change the target to five. This page does none of that: every turn is just one top-drop move on the standard board.

Do the difficulty options change the rules?

No. VS AI Easy, Normal, and Hard all use the same board, first-player order, and win condition. Only the computer's search depth and error rate change. Two Player and Computer vs Computer also keep the same underlying rules.

Does going first matter in classic Connect Four?

Yes. The classic 7×6 game is a solved first-player win with perfect play, especially when the opening fights for the center. That does not mean every human or AI game is predetermined, but it explains why center control is so valuable.

How do I play on mobile?

Tap the column where you want to drop your disc. The game uses the same gravity rules as desktop, and the top menu gives quick access to restart, mode changes, and help.

Related Games