← Play in Phone The drop grid · strategy classic

Tactical

Connect Four

Look-ahead AI 3 AI levels Streaks saved
W 0 · L 0 · D 0

You play red and the computer plays yellow. Tap a column to drop a disc. It falls to the lowest empty spot. Be first to get four of your discs in a row: across, up and down, or on a slant. Pick Easy, Medium or Hard. Each game gives you 2 hints and 3 undos. On a keyboard, use the left and right arrows to aim, Enter to drop, or keys 1 to 7.

All Games

Using hints and undo in Connect Four

You drop red discs into a standard seven-column grid and the computer answers with yellow. The first to link four, horizontally, vertically or diagonally, wins. Each game hands you two hints and three undos, and once those are spent you are on your own, so it pays to hold them for the moment a threat appears rather than the first turn.

The three AI levels differ in search depth: Easy looks two discs ahead, Medium four, and Hard seven. All of them see an immediate win or block. Medium and Hard pick randomly among moves of equal value, so the same opening will not always get the same reply. Hard can punish a plan that leaves a double threat three moves later, which Easy will not notice.

The Column lab below the board is a sandbox: pick a column, preview the drop and see whether yellow would have a winning answer on the very next move. It checks one reply only, so it is a safety check, not a full solution. On a keyboard, left and right arrows aim, Enter drops, and the keys 1 to 7 drop directly. Wins, losses and draws are saved per level, and you can choose to start second.

Questions

Is Connect Four a solved game?

Yes. With perfect play the first player wins on this 7x6 board, but the move sequence is long and the Hard AI at depth seven is not perfect.

Do hints use up a life or cost points?

No. They are just limited to two per game.

Can I start second?

Yes, the setting is saved, and the computer then opens first.