Connect 4 looks simple, and the rules are: drop discs, get four in a row. But it is a real strategy game. In fact it has been solved by computer, and with perfect play the first player always wins. This page explains the rules and then the ideas that win games, from blocking and double threats to the 7 trap, odd and even threats and zugzwang. Every board is live: click or tap a column to drop a disc, or press Show me to see the idea played out.
How to Play
Connect 4 is played on an upright grid of 7 columns and 6 rows. One player has red discs and the other yellow. Red goes first, then the players take turns. On your turn you drop one disc into any column that is not full. The first player to get four discs in a row wins: across, up and down, or diagonally. If all 42 holes fill up and nobody has four, the game is a draw.
Dropping a Disc
A disc always falls to the lowest empty hole in its column. You choose the column, never the row. Column 1 here has one hole left: fill it and the column is full, so nobody can play there again for the rest of the game.
Four in a Row
There are four ways to make four in a row. In each board below, Red is to play and can win at once. Find the column.
Across (horizontal)
Up (vertical)
Diagonal, rising to the right
Diagonal, falling to the right
How to Win: Connect 4 Tricks
A threat is an empty hole that would give a player four in a row. On the boards below, Red's threats are marked and Yellow's . Almost every Connect 4 game is decided by threats: who has them, where they are, and whether the other player can stop them.
Block Threats
The first rule of defence: if your opponent can make four next move, you must block it. On the left, Yellow has three in a row along the bottom. Red has to play in column 2, or Yellow wins there.
The second rule: never play directly underneath your opponent's threat. On the right, Yellow's threat in column 5 is floating one row up. If Red drops a disc into column 5, it fills the hole underneath and Yellow wins on top of it. Keep those columns closed for as long as you can.
Red to play: block
Red to play: not column 5!
The Double Threat
One threat can be blocked. Two threats at once cannot, because your opponent only gets one move. This is the most common way to win at Connect 4. Here Red has two discs in the middle of the bottom row with space on both sides. Red plays column 2 or column 5 to make three in a row with both ends open. Yellow blocks one end and Red wins at the other.
Red to play: make two threats
Stacked Threats
Two threats can also sit one directly above the other in the same column. Red has two here, in column 5. That column is now a trap for Yellow: whoever plays there first, Red wins. If Yellow plays in column 5, Red wins in the hole above. If Red plays there, Yellow has to block the lower threat, and the block lets Red drop into the upper one.
Red to play and win
The 7 Trap
The 7 trap is a shape: three discs in a row along the top with a diagonal of discs running down from one end, like the number 7. It makes two threats next to each other at once. Here Red completes the 7 by playing column 2: the row of three threatens column 5, and the diagonal threatens the hole just above it. The two threats are stacked, so Yellow can block only one.
Red to play: complete the 7
Odd and Even Threats
Number the rows 1 to 6 from the bottom. Late in the game the board fills up, the safe moves run out, and someone is forced to drop a disc into the hole under a threat. Because Red moves first and each column has an even number of holes, the counting usually works out so that Red wants threats on odd rows (1, 3 and 5) and Yellow wants threats on even rows (2, 4 and 6). A threat on the right row can win a game many moves later, even with nothing else happening on the board.
On the left, Red has one threat, on row 3 of column 5. Yellow is to move, but cannot stop it: the other columns fill up, Yellow runs out of safe moves and has to fill row 2 of column 5. On the right it is the other way round: Yellow's threat is on row 4 of column 2, and it is Red who runs out of moves and has to play underneath it. Try to escape, then press Show me.
Red's odd threat (row 3)
Yellow's even threat (row 4)
Zugzwang
Zugzwang is a word borrowed from chess. It means having to move when you would rather not. In Connect 4 you can never pass, so once the safe moves run out, a player is forced to play into a hole that hands the other side the win.
Here Yellow is to move and has four columns to choose from. That sounds like plenty, but each one runs out, and in the end Yellow has to play under Red's threat in column 6 (row 5, an odd row). If it were Red's turn in this position instead, Red could not force a win. Red wins only because Yellow has to move. Good players plan for this: they make a threat on the right row, keep everything else safe, and let their opponent run out of moves.
Yellow to play
Quick Connect 4 Tips
- Start in the middle. The centre column is part of more possible fours than any other, so Red's best first move is column 4.
- Look before you drop. Before every move, check whether your opponent can win next move, and whether your move fills the hole under one of their threats.
- Build threats, not just lines. Three in a row is only useful if the fourth hole is still empty, and better still if it is on the right row for you.
- Aim for two at once. Double threats, stacked threats and the 7 trap all win the same way: your opponent cannot block twice in one move.
- Count the rows. As Red, prefer threats on odd rows. As Yellow, prefer even rows.