The classic children’s game Connect Four, also known by various names such as Four Up and Plot Four, has been a staple of family game nights and childhood memories since its inception in 1974. While it appears to be a simple game of strategy and luck, Connect Four has intrigued minds for decades, leading to its status as a “solved game.”
At first glance, Connect Four’s premise is straightforward: two players drop colored tokens into a vertically suspended grid, aiming to connect four of their own tokens horizontally, vertically, or diagonally. With a finite grid of seven columns and six rows, the game might seem to lend itself to an equal chance of victory for both participants. However, this is not the case.
The breakthrough came in October 1 1988 by James Dow Allen, and independently by Victor Allis in October 16 1988..
The solved conclusion is that with perfect play, the first player can force a victory by their 41st move, particularly by starting in the center column. This crucial first move in the center column (D1) is the only move that guarantees a win with perfect play.
This revelation transforms the game from one of chance to a strategic battle where the first player holds a significant advantage. As stated in one article, “There are slightly fewer than 2 trillion ways to get four in a row, but if two perfect players are competing, the only way to lock in the win is to go first and play in the center column.”
The complexity of Connect Four is further illustrated by the immense number of possible game board positions, which amount to roughly 4.5 trillion. Despite this, with brute-force analysis and algorithms such as minimax or negamax—complete with alpha-beta pruning, move ordering, and transposition tables—the game can be strongly solved.
Relevant articles:
– Here’s How to Win Connect Four Every Time, 01 Dec 2013