Connect 4 online
Challenge the computer or play a friend on the same device. Get four discs in a row to win.
Red's turn
Choose any column to drop a disc.
Red 0 · Yellow 0 · Draws 0
Tap a column or use ← → then Enter. Keys 1–7 also drop a disc when a column button has focus.
How to play Connect 4
Take turns dropping one disc into any column with an empty space. Discs fall to the lowest open row. Make a line of four horizontally, vertically, or diagonally. If all 42 spaces fill without a winner, the round is a draw.
Controls, rematches, and computer difficulty
Click or tap a column button or any space below it. With a column button focused, use the left and right arrows to choose a column, Home or End to jump to an edge, and Enter or Space to drop. Number keys 1–7 choose and play a column.
New round keeps the match score. Reset match clears it and starts over. Scores last until you reload or leave this page. The First move option sets who starts every round; in computer mode, you play Red and the computer plays Yellow.
Easy chooses random legal moves. Normal looks ahead three moves and Hard looks ahead five. Normal and Hard look for wins and blocks, then favor useful groups of discs and the center. Hard is a challenge, but it is not an unbeatable solver.
On a phone, swipe vertically to scroll the page. Sound is optional. You can review the final board before starting another round.
A useful first strategy
Start near the center, where more lines can connect. Before building your own line, check whether your opponent can win with their next disc. Try to create two winning threats at once.
Tic Tac Toe
Rock Paper Scissors