Four in a Row

Drop discs, line up four. Computer or a friend.

How to play

Take turns dropping a disc into one of the seven columns; it falls to the lowest empty spot. The first player to line up four of their discs, across, up and down or diagonally, wins. If all 42 spots fill with no four in a row, the game is a draw. Red goes first. Play the computer at Easy, Normal or Hard, or share the device with a friend, and choose whether you play Red or Yellow. Tap a column to drop a disc, or move with the left and right arrows and press Enter; the number keys 1 to 7 drop straight into a column. Red discs carry a raised dot and yellow discs a raised star, so you can tell them apart without relying on colour.

Controls

ActionDesktopTouch
Drop a discClick a column, or press Enter on the highlighted oneTap a column
Choose a column with the keyboardLeft and right arrows, or the number keys 1 to 7Not needed on touch
Read the rulesRules buttonRules button
New game or change settingsRestart buttonRestart button

Tips and strategy

Play the middle. The centre column is part of more possible fours than any other, so a disc there is worth more than a disc on the edge. Start in the middle and build outward.

Make a double threat. A disc that creates two different ways to make four at once cannot be blocked with a single move. Look for two lines of three that cross.

Watch the square above a threat. If your opponent's winning spot is one above a spot you could play, do not play under it: you would hand them the square.

Count the odd and even rows. Because the discs stack, a threat on a row decides who is forced to play beneath it. Keep your threats where your opponent will be forced to give them to you.

Always look for the opponent's three-in-a-row before you attack. Hard never misses an immediate win or an immediate block, and neither should you.

FAQ

Does it work on my phone?

Yes. Tap the column you want; the whole height of the column is the target.

Is it free?

Yes. There are no accounts and no payments anywhere on the site.

Does it work offline?

After the first load the game, including the computer player, runs without a connection.

Can the computer be beaten?

Yes. Easy takes a win or a block when it sees one, and otherwise plays at random, with an occasional blunder. Normal looks five moves ahead. Hard searches as deep as it can in about 45 milliseconds with exact win and loss detection, and it sees forced wins several moves ahead, but it is not perfect play.

Is Four in a Row fair to the second player?

Mathematically, the first player can always force a win with perfect play on the standard 7 by 6 board, but it takes very precise play, so the second player has real chances against anyone who is not perfect. You can choose to play Red (first) or Yellow.

How do I tell the colours apart?

Red discs carry a raised dot and yellow discs a raised star; when the game ends the winning four glow and a gold line joins them.

Where is my record stored?

In your browser's local storage only. It stays on that device and browser.

Category: Board & Classic · Controls: Tap a column to drop a disc · Devices: Phone, tablet, desktop · Updated: 6 Nov 2026