Connect Four
Drop discs and connect four in a row before the AI does. Classic strategy game!
Connect Four
Drop your red discs and connect four in a row โ horizontally, vertically, or diagonally โ before the AI does.
How to use
- 1
Click any column to drop your red disc โ try to connect four in a row.
- 2
Connect four horizontally, vertically, or diagonally to win.
- 3
Block the AI's moves while building your own line โ choose your difficulty wisely!
Connect Four โ Free Online Connect 4 Game vs AI
Play Connect Four online for free against a smart AI. Three difficulty levels, instant play, no sign-up needed. Classic drop-disc strategy game!
Connect Four is the timeless two-player strategy game where you take turns dropping colored discs into a 7-column, 6-row vertical grid. The goal is simple but deep: be the first to align four of your discs in a row โ horizontally, vertically, or diagonally โ while preventing your opponent from doing the same.
Our online Connect Four runs entirely in your browser with three AI difficulty levels powered by a minimax algorithm with alpha-beta pruning. Easy is great for casual play, Medium offers a balanced challenge, and Hard plays several moves ahead and rarely makes mistakes. No sign-up, no downloads โ just open and play.
Frequently Asked Questions
How do I win at Connect Four?
Connect four of your discs in a row โ horizontally, vertically, or diagonally. Controlling the center column is a powerful opening strategy because it gives you the most ways to build a four-in-a-row.
How smart is the AI on each difficulty?
Easy looks 2 moves ahead and plays a random move 30% of the time. Medium searches 4 moves deep and plays solidly. Hard searches 6 moves deep with alpha-beta pruning โ it spots traps and rarely loses.
What happens if the board fills up?
If all 42 cells are filled without either player connecting four, the game ends in a draw. The draw counter at the top of the board tracks how many drawn games you've played.
What are the controls?
Just click or tap any column to drop your disc into the lowest empty slot. Hover over a column on desktop to preview where your disc will land before you commit.
You might also like
Other tools you might find useful.