Classic 4-in-a-row, right in your browser

Connect Four Game

Drop red and yellow pieces down the columns and be the first to connect four in a row — across, up and down, or diagonally. Play locally with a friend or take on a simple computer opponent.

Red 0 Yellow 0

Red's turn

How to play Connect Four

1

Connect four to win

Take turns dropping a piece into any column. The first player to line up four pieces in a row — across, up and down, or diagonally — wins the round.

2

Two ways to play

Choose 2 Player (local) to pass the device back and forth with a friend, or pick vs Computer to play solo against a built-in opponent.

3

How the computer plays

The AI looks for an immediate win first, then blocks your immediate win, and otherwise leans toward central columns for a sensible, quick game.

FAQ

How smart is the computer opponent?

The computer always takes an immediate winning move if one exists, then blocks your immediate winning move, and otherwise favors central columns with some variety in its choices. It's a quick, fair opponent rather than an unbeatable one.

Is my score saved anywhere besides my browser?

No. Wins for Red and Yellow are saved only in your browser's local storage on this device, so the tally survives a reload but is never uploaded anywhere.

Does Connect Four work on mobile and touch screens?

Yes. Tap any column to drop a piece. The board and controls resize to fit phones and tablets and behave the same as on desktop.

Try other tools