π΄ Connect Four
About Connect Four
Connect Four was invented by Howard Wexler and Ned Strongin and published by Milton Bradley in 1974. The game became an instant hit β over 4 million copies were sold in the first year. It's been called "a solved game" since 1988, when Victor Allis proved mathematically that the first player can always force a win with perfect play.
The standard board is 7 columns Γ 6 rows. Discs fall to the lowest open space in a column. First player to get four of their discs in a row β horizontally, vertically, or diagonally β wins.
Frequently asked questions
What difficulty is the computer? +
The AI uses a minimax search with alpha-beta pruning at depth 5, making it strong but beatable. It prioritizes center columns and blocks obvious winning threats, but doesn't play perfect Allis-proven moves.
How do I win? +
Get four of your colored discs in a row in any direction β horizontal, vertical, or diagonal. The winning four discs are highlighted when the game ends.
Why is center column strategy important? +
The center column (column 4) connects to more winning lines than any other column. Controlling it early gives you the most diagonal and vertical options. Victor Allis's proof shows the first player must start in the center to guarantee a win.