FREE GAME
Connect Four
Drop pieces to connect four in a row before a genuinely strong computer opponent does.
You
0
Ties
0
Computer
0
Your turn - click a column.
Why Use Our Connect Four?
Genuinely Strong AI
The computer searches several moves ahead with minimax and alpha-beta pruning, not just random or one-move-deep logic.
Classic 7x6 Grid
The standard Connect Four board size and rules - connect four in a row horizontally, vertically, or diagonally.
Blocks Your Threats
The AI recognizes when you're about to win and blocks it, while also looking for its own winning opportunities.
Win/Loss/Tie Record Saved
Your results against the computer are saved on this device.
Works on Any Device
Drop pieces with a single tap on phone, tablet, or desktop.
100% Private
Everything runs in your browser. Nothing is ever sent to a server.
Frequently Asked Questions
How strong is the computer opponent?
It searches several moves ahead using minimax with alpha-beta pruning and a position-scoring heuristic, so it plays a genuinely strong game rather than random moves.
How do I win?
Get four of your pieces in a row horizontally, vertically, or diagonally before the computer does.
How do I drop a piece?
Click the arrow above any column, or click anywhere in that column, to drop your piece into the lowest open space.
Is my record saved?
Yes. Your wins, losses, and ties against the computer are saved in your browser's local storage.
Is this game free?
Yes. It's free to play with no sign-up.
More Tools
