Connect Four - Play Free Online

Play Connect Four free online — Drop discs to connect four in a row against a minimax AI with three difficulty depths, tracking wins, losses, and draws....

Editor's Notes

Drop discs into a 7-column, 6-row grid and race to line up four in a row — horizontal, vertical, or diagonal — before the AI does

What players will love

Written by , Content Editor · 2025-02-12

About Connect Four

Drop discs into a 7-column, 6-row grid and race to line up four in a row — horizontal, vertical, or diagonal — before the AI does. You are Blue and always move first; the AI is Red. All three difficulty levels run the same minimax search with alpha-beta pruning, differing only in how far they look ahead: depth 1 on Easy, 3 on Medium, and 5 on Hard. The AI considers columns center-first (the order 3, 2, 4, 1, 5, 0, 6) and its evaluation favors center-column discs and open three-in-a-rows, so the higher levels defend and build threats well. Discs settle straight into the lowest open slot, and the four winning pieces get gold ring highlights when someone connects four. Wins, losses, and draws are kept in localStorage.

Connect Four — Quick Facts

Genre
Board, Strategy, Classic
Tags
classic, logic, single-player
Platform
Web browser · PC · Mac · Chromebook · iPhone · iPad · Android
Input
Keyboard, mouse, touchscreen
Game mode
Single-player
Added to FastPlayGames
2026-03-12
Developer
FastPlayGames
Price
Free · no downloads · no sign-up
Offline play
Yes, after your first visit while online
Data collection
None — game runs in a sandboxed iframe

How to Play Connect Four

You play as Blue and the AI plays as Red. Click on any column or use keyboard shortcuts to drop a disc into that column. The disc falls to the lowest available position. Your goal is to connect four of your discs in a continuous line — horizontally, vertically, or diagonally. The AI will try to do the same. If the board fills up with no winner, the game ends in a draw. Choose your difficulty level before starting to match your skill level.

Controls

Click or tap a column to drop your disc. Use Left/Right arrow keys to select a column and Enter to drop. Press number keys 1-7 to drop directly into that column. Escape or P to pause.

Tips & Strategies

Frequently Asked Questions

How many difficulty levels does Connect Four have?

Connect Four has three difficulty levels. They all use the same minimax search with alpha-beta pruning — none plays randomly — and differ only in search depth: Easy looks 1 move ahead, Medium 3, and Hard 5.

Which difficulty should I pick?

All three levels use the same minimax AI with alpha-beta pruning and center-first column ordering, differing only in search depth. Easy looks 1 move ahead and is easy to out-plan, Medium looks 3 and will block your three-in-a-rows, and Hard looks 5 and defends and builds threats several moves out.

Is Connect Four a solved game?

Yes, Connect Four was mathematically solved in 1988. The first player can always force a win with perfect play by starting in the center column. Our Hard AI plays at a very high level but may not play perfectly in every situation.

Connect Four is a free board game you can play instantly at FastPlayGames. No download or registration required.

Categories: board Games | strategy Games | classic Games

Tags: #classic #logic #single-player

Developer: FastPlayGames

More Games Like Connect Four

You might also like

Featured in Editorial Best-Of Lists

Connect Four is one of the editor-picked games in the following hand-curated lists on FastPlayGames: