🔴 Strategy Game

Connect Four

Drop discs to line up four in a row — against the computer or a friend.

🔴 Your turn

Overview

Connect Four: line up four before your opponent

Connect Four is the classic drop-and-stack strategy game: take turns dropping discs into a seven-column grid, and be the first to line up four of your colour in a row — horizontally, vertically, or diagonally. It is simple enough for a child to learn in seconds, yet it has been mathematically 'solved', which means there is a perfect strategy — and a surprising amount of depth in getting there.

This version lets you play against a computer opponent that looks several moves ahead, or pass-and-play with a friend on the same device. It runs entirely in your browser with no download and no account, and works just as well on a phone as on a desktop.

100% freeNo sign-upBeat the computer2-player mode
How to play
  1. 1Choose 'vs Computer' or '2 Players'.
  2. 2Click a column to drop your disc; it falls to the lowest empty slot.
  3. 3Line up four of your colour in a row — across, down, or diagonally — to win.
  4. 4Press New game to start over at any time.
Key features
  • Play against a look-ahead computer opponent
  • Two-player pass-and-play on one device
  • Classic 7 × 6 board with the familiar drop mechanic
  • Clear turn and win indicators
  • Instant restart
  • 100% client-side — nothing is uploaded

Frequently asked questions

How does the computer decide its moves?
It uses a minimax search that looks several moves ahead, scoring positions by how close each side is to four in a row and favouring the centre column, then plays the strongest move it finds.
Who goes first?
Red (you) always moves first. In Connect Four the first player has an advantage with perfect play, so going first is a real edge.
Can I play with a friend?
Yes — switch to 2 Players mode and take turns on the same device, red and yellow alternating.
What is the best opening move?
Playing the centre column first is the strongest opening, because central discs contribute to the most possible winning lines.