Connect Four
Drop discs into a 7x6 grid and connect four horizontally, vertically, or diagonally against the CPU or a friend.
Click any column or press 1–7 (or ← → + Space) to drop a disc · Z to undo
Game options
1P vs CPU · Hard · Red first
How to Play Connect Four in 3 Steps
Pick 1P or 2 Players
Challenge the minimax computer on Easy, Medium, or Hard, or select 2 Players to share one screen.
Drop a disc
Click any of the seven columns or press keys 1 to 7. Your disc drops to the lowest open slot.
Connect four to win
Line up four matching discs horizontally, vertically, or diagonally to win the round and highlight the winning line.
Controls & rules
| Action | Keyboard | Mouse / Touch |
|---|---|---|
| Drop in column 1 to 7 | 1 to 7 | Click or tap any cell in that column |
| Aim and drop | ← → then Space / Enter | Tap desired column directly |
| Undo last turn | Z | Tap Undo |
| Start new game | Space (when finished) | Tap New game |
Connect Four: Frequently Asked Questions
How strong is the Hard computer?
Hard mode searches seven plies ahead using alpha-beta pruning and center-column ordering. It detects multi-move traps in milliseconds right in your browser.
Why is the center column important?
Every horizontal or diagonal four-in-a-row across the middle must use column 4. Controlling the center column gives you the most winning lines.
What does Undo revert in 1P mode?
Undo removes both the computer reply and your previous disc so you return directly to your turn.
How do I clear the win and draw tally?
Click Reset in the toolbar or press Esc to clear saved scores and restore default settings.
Is anything uploaded or tracked while I play?
No. The game runs completely in your browser tab. Your browser saves win tallies in localStorage and clears them when you click Reset.
Explore All Games
Play fast browser games immediately with zero downloads and no account.