Tic-Tac-Toe
Line up three in a row on the 3×3 grid with a perfect-play computer option, pass-and-play mode and an unbeatable minimax opponent.
- 2 players
- 1–5 min
- Easy
- vs CPU
All gamesStrategy · Family · Classic
Drop discs, build lines, block your rival. vs computer, pass-and-play: 2 players, 2–10 min.
Connect Four is chess for the impatient: a gravity-fed rack, two colours of discs, and a race to line up four before your opponent does. Games last a few minutes, every drop is permanent, and this free browser edition comes with a computer opponent that plans five moves ahead on the Hard setting.
The genius of Connect Four is that it looks like a child's toy and plays like a solved combinatorial game - which it literally is: in 1995 James Dowling and Victor Allis proved the first player wins with perfect play, and the winning first move is the centre column. Humans cannot play perfectly, of course, which is why real matches stay interesting.
Adding the fourth disc to the classic three-in-a-row formula changes everything. Three is too easy to block; four creates overlapping threats on a 7-wide board, so a player who builds two threats at once wins outright. Almost every match between attentive players is decided by exactly that: a fork the loser noticed one move too late.
Choose “vs Computer” to play the gold discs against the engine, or “2 Players” for pass-and-play on one screen. Gold always drops first. Difficulty pills adjust the computer from random to searching five moves deep.
Full columns simply refuse discs - the status bar tells you why rather than letting you waste a turn.
Connect Four has one rule and two consequences. The rule: players alternate dropping one disc into any column that is not full, and the disc falls to the lowest empty square in that column. First to line up four of their own discs - horizontally, vertically or diagonally - wins immediately.
The consequences are where games are won and lost:
Connect Four rewards players who count threats, not just make them.
The Hard computer applies these ideas mechanically - centre bias, threat counting, five-ply lookahead - so beating it is a genuine exercise in fork-building and patient defence.
The most common leak is playing edge columns early. The far columns offer far fewer winning lines, and a disc there mostly helps the opponent by giving their diagonals a foundation. Second is rushing to complete lines of two while ignoring the opponent's lines of three - by the time a threat is visible on the board, blocking it is often already too late.
The subtle one is stacking without purpose. Every disc is permanent, so a careless drop in a shared column can serve as the exact fourth square of the opponent's diagonal a few moves later. Before dropping, glance at what your disc enables above it, not just what it does at its own level.
The rack engine validates every drop against gravity and checks all 69 possible four-disc lines after each move, so wins are detected the instant they form - including diagonals, which are the ones human eyes miss. The computer opponent has three honest personalities: Easy drops at random, Medium only wakes up to take an immediate win or block an immediate loss, and Hard runs an alpha-beta search five plies deep that scores every line-of-three, line-of-two and centre stack.
Everything runs locally: no accounts, no waiting, sound you can toggle, and a board that scales from phone to desktop with touch targets sized for thumbs. If you enjoy the fork-hunting rhythm, the Othello page on this site scratches a similar itch with flipping discs instead of falling ones.
| Also known as | Four-in-a-Row, Plot Four, Gravitrips |
|---|---|
| Released as a toy | Milton Bradley, 1974 (US) |
| Board | 7 columns × 6 rows - 42 disc slots |
| Pieces | 21 discs per player, gold and red here |
| Typical game length | 2–7 minutes |
| Skills trained | Pattern reading, threat counting, tempo |
| This edition | Win-line highlighting, keyboard drops, three AI levels |
Quick answers about playing Connect Four online for free.
Restart the Connect Four board above for a rematch, or explore the full free board games catalog : every title runs instantly in your browser with no download. New to the site? The How to Play guide explains controls, computer opponents and multiplayer options.
Browse all 25 free gamesIf you enjoy Connect Four, these free browser board games share similar skills: strategy and family and classic fans will feel at home with any of them.
Line up three in a row on the 3×3 grid with a perfect-play computer option, pass-and-play mode and an unbeatable minimax opponent.
Ask yes-or-no questions and flip down characters until one remains - an original deduction board adaptation with a logical computer rival.
Place five ships on your grid and trade salvos with a computer fleet - complete hit, miss, sunk and win logic with smart enemy targeting.