Connect 4 Guide: Rules, Strategy, Tips, and How to Play Online
Connect 4, also known as Four in a Row, Four Up, or Captain's Mistress, is a classic two-player strategy board game. Players take turns dropping colored pieces into a
vertical board with 7 columns and 6 rows. Gravity pulls each piece down to the lowest free
spot, and the first player to line up four pieces horizontally, vertically, or diagonally
wins.
The rules fit in a sentence, but the game hides a surprising amount of depth. Every move
changes which spots are reachable, which threats are real, and who will be forced to play
where later. This guide explains how to play Connect 4 online, the strategy that separates
casual players from strong ones, a bit of history, and answers to common questions.
How to Play Connect 4
- The board has 7 columns and 6 rows, for 42 spots in total.
- Players alternate turns. On your turn, choose a column and drop one piece into it. The
piece falls to the lowest empty spot of that column.
- A column that is full cannot take more pieces.
- Connect four of your pieces in a straight line, horizontally, vertically, or diagonally,
to win the game.
- If all 42 spots are filled and nobody connected four, the game ends in a draw.
Controls: click or tap a column to drop a piece. On a keyboard, use the arrow keys or A and
D to move the piece above the board and press Down, S, Space, or Enter to drop it. You can
also press the numbers 1 to 7 to drop directly on a column. Undo and redo let you review
your mistakes and try a different idea.
Connect 4 Strategy: Think in Threats
A threat is an empty spot that would complete four in a row for one player.
Strong Connect 4 play is mostly about creating threats you can use and denying the ones your
opponent needs. Because pieces stack from the bottom, a threat cannot always be played right
away: it only becomes playable once the spot below it is filled.
- Take the center. The middle column is part of more possible lines of
four than any other column, so pieces there are worth more. Opening in the center is the
strongest first move.
- Check for immediate wins and losses every turn. Before anything else,
look for a move that wins right now, then for a move your opponent would win with next.
- Do not play under your opponent's threat. If your opponent needs a spot,
dropping a piece right below it lets them play there next turn.
- Create double threats. Two threats at once, or two threats stacked on
top of each other in the same column, cannot both be blocked.
- Build in many directions. Pieces that take part in horizontal, vertical,
and diagonal lines at the same time create threats more easily.
- Count the remaining moves. Near the end, columns fill up and players are
forced into spots they would rather avoid. Plan which spots each player will be forced to
take.
Odd and Even Threats
Counting rows from the bottom, the first player usually benefits from threats on odd rows (1, 3, and 5) and the second player from threats on even rows (2, 4, and 6). When the board fills up, the order of play tends to
hand the odd spots to the first player and the even spots to the second one. A threat on the
right row can win the game long after it was created, simply because your opponent will
eventually be forced to play below it.
Playing Against the CPU
The CPU comes in four difficulty levels. Easy often plays random moves and
is a good place to learn the rules. Medium looks a few moves ahead and never
misses an immediate win or block. Hard plans deeper and punishes loose
moves, and Very Hard searches about a dozen moves ahead, so you will need
real strategy to beat it. You can also choose Player 2 to play with a friend on the same
device.
A Short History of Connect 4
Connect 4 was first sold in 1974, but games about lining up pieces in a grid are much older.
In 1988, James Dow Allen and Victor Allis independently solved the game: with perfect play,
the first player can always win by starting in the center column. If the first player starts
anywhere else, the second player can at least force a draw. Even so, perfect play requires
deep calculation, which is why the game is still fun between people.
Variations of Connect 4
- Pop Out: instead of dropping a piece, a player can remove one of their
own pieces from the bottom row, shifting the column down.
- Larger boards: some sets use 8x7, 9x7, or even bigger boards, which
change the balance of the opening.
- Five in a Row: extra columns on the sides and a goal of connecting five
instead of four.
Frequently Asked Questions
Who wins Connect 4 with perfect play?
The first player. Starting in the center column and playing perfectly guarantees a win, no
matter how the second player responds.
Do diagonals count?
Yes. Four in a row counts horizontally, vertically, and in both diagonal directions.
Can Connect 4 end in a draw?
Yes. If the board fills up without anyone connecting four, the game is a draw. Draws are
more common between experienced players who block every threat.
What is the best first move?
The center column. It gives your pieces the most chances to connect in every direction.
How do I get better at Connect 4?
Play against stronger CPU levels, always check for wins and blocks before moving, and use
undo to explore what would have happened with a different move.
Sound Effects Credits
The sound effects used on the game come from multiple parties. The credits and
respective licenses are listed below:
Disclaimer
This game is a property of Lofi and Games. All code and assets are protected and must
not be redistributed or used without prior permission.