Skip to content

Connect Four

Drop discs and connect four in a row — across, down or diagonally. Play against the computer on easy, medium or hard, or with a friend on the same device.

How to play Connect Four

  1. Click a column to drop your red disc.
  2. Get four in a row horizontally, vertically or diagonally to win.
  3. Block your opponent's lines of three.

The computer looks several moves ahead using minimax search with alpha-beta pruning. Starting in the centre column is the strongest opening.

Your scores and streaks are saved only in this browser.