Connect Four

Click a column to drop a piece. The first to line up 4 of their pieces — horizontally, vertically, or diagonally — wins. Play against the computer or two players on one device.

Teal 0
Amber 0
Draws 0

How to play

  1. Pick a mode — against the computer (with a difficulty level) or two players on the same screen.
  2. Click anywhere in a column — the piece falls to the lowest open spot.
  3. The first to connect 4 pieces in a row — horizontally, vertically, or diagonally — wins.
  4. If the board fills up with no winner, it's a draw.

Frequently asked questions

How hard is level 3?

The computer looks several moves ahead (minimax with alpha-beta pruning) — it's tough to beat, but unlike Tic-Tac-Toe, not unbeatable.

Is the score saved?

Yes, wins for each color and draws are saved in your browser (localStorage) and persist between visits.

Ad slot — in-feed 1120×100

Other games