Four in a row

The disc-dropping game against a computer that looks up to seven moves ahead, at three levels, with the results kept in the browser. Free, with no sign-in.

The player’s turn: pick a column.

Medium · 0 moves

Player

Computer

The computer

First move

Results on Medium, in this browser

0 wins · 0 losses · 0 draws

High scores

The top 25 players. An account is on the board once, at its best; a score put on under three letters stands on its own. Equal scores rank in the order they were set, and every run is played back on the server before it goes on.

No scores yet: the first finished run goes straight on.

A win scores 500 against Easy, 1,500 against Medium and 5,000 against Hard, plus 25 for every space still empty when the four is made. A loss or a draw scores nothing.

The rules

Two sides take turns to drop a disc into one of 7 columns, and it falls to the lowest empty space. The first to line up four of its own discs, across, down or on a diagonal, wins. A full board with no line of four is a draw.

The computer looks ahead before each move: 2 moves on Easy, where it also plays some moves at random, 4 on Medium and 7 on Hard.

The game on this board was solved by computer in 1988: with perfect play, the side that moves first can always win, by starting in the middle column.

How to play

  1. 1. Pick the computer

    Choose Easy, Medium or Hard, and who moves first, then press New game.

  2. 2. Drop a disc

    Tap or click a column, or move to it with Tab and press Enter. The disc falls as far as it can.

  3. 3. Watch both ways

    Build towards four while blocking the computer’s lines. A threat on two lines at once is hard to stop.

  4. 4. Keep score

    Wins, losses and draws at each level are kept in this browser, and a win can be shared.