🔴

Connect Four

Drop discs into the grid. Connect 4 in a row - horizontally, vertically, or diagonally - to win!

0
🔴 Red
0
Draw
0
🟡 Yellow
🔴 Red's turn
Mode
Difficulty

About Connect Four Online — Classic Strategy Game

Connect Four online is a two-player strategy game where you take turns dropping colored discs into a 7-column, 6-row vertical grid. Discs fall under gravity to the lowest available position in the chosen column. The first player to form a horizontal, vertical, or diagonal line of exactly four of their own discs wins. If the board fills completely with no four-in-a-row for either player, the game is a draw. This version supports both two-player local mode and single-player vs AI with Easy and Hard difficulty levels.

Connect Four was designed by Howard Wexler and Ned Strongin and first published by Milton Bradley in 1974. In 1988 it was mathematically proven to be a solved game — with perfect play, the first player (Red) can always force a win by opening in the centre column. This was proven by James Allen and, independently, Victor Allis. Despite being solved, Connect Four remains popular because human players rarely play perfectly, and the tactical patterns are genuinely engaging to explore.

Controls

  • Click the ▼ arrow above a column — drop your disc into that column
  • Click the column directly — also drops a disc into that column
  • Keys 1–7 — Drop a disc into column 1–7 respectively (keyboard shortcut)
  • Mode buttons — Switch between 2 Players (local) and vs AI
  • Difficulty buttons — Easy (random AI moves) or Hard (look-ahead AI)
  • New Game button — Reset the board; running scores are preserved

How to Play Connect Four Online

The rules are simple — the strategy is where connect four online gets interesting:

  • Red always goes first. Players alternate turns, dropping one disc per turn into any column that is not already full.
  • Click the ▼ arrow above your chosen column or press its number key (1–7) to drop your disc. The disc falls to the lowest empty row in that column.
  • The first player to place four discs in an unbroken line — horizontal, vertical, or diagonal — wins immediately. The winning four discs are highlighted.
  • If all 42 cells fill up with no four-in-a-row for either player, the game is a draw.
  • In vs AI mode, you play as Red and the AI plays as Yellow. Choose Easy for a relaxed game or Hard for a challenging opponent that plans ahead.

Tips & Strategies for Connect Four Online

What actually separates winning from losing in Connect Four:

  • Always open in the centre column: Column 4 (the middle column) is the most valuable position on the board. Pieces in the centre can contribute to horizontal, vertical, and diagonal connections in both directions. Opening in column 4 gives you the most connectivity — this is the proven winning opening move.
  • Build threats in multiple directions simultaneously: The most powerful tactic is creating a "double threat" — a position where you have two different ways to complete four in a row on your next turn. The opponent can only block one, so you win with the other.
  • Control the bottom rows: Discs in lower rows are more valuable because they support more potential connections. Try to establish your discs in the bottom three rows before your opponent does.
  • Never ignore a three-in-a-row threat: If your opponent has three discs in a row with an open space available to complete it, block it — unless you have an immediate winning move yourself.
  • Avoid the outer columns early: Columns 1 and 7 (the edges) offer the fewest connection directions. Reserve them for later play rather than building your early strategy around them.

Skills You Develop Playing Connect Four Online

Connect Four online develops spatial pattern recognition — the ability to simultaneously track lines in four orientations across a 7×6 grid while planning ahead. This requires holding multiple partial patterns in working memory and evaluating which plays simultaneously advance your own threats while neutralising the opponent's. The game also teaches the principle of forcing moves — creating positions where your opponent has no good response. Building a double threat forces the opponent into a losing choice, a concept that transfers to chess, other strategy games, and broader problem-solving. Connect Four is an excellent entry point for developing strategic pattern thinking precisely because its rules are simple enough to learn in minutes while the strategy depth sustains long-term engagement.

Frequently Asked Questions about Connect Four Online

Win by placing four of your discs in an unbroken line — horizontally across a row, vertically up a column, or diagonally in either direction. The first player to complete a four-in-a-row wins immediately, with the winning discs highlighted on the board. If all 42 cells are filled without either player completing a four-in-a-row, the game ends as a draw. You can win in multiple orientations, so watch all four directions at the same time.
With perfect play, yes — Connect Four is mathematically solved and the first player (Red) can always force a win by opening in the centre column. This was proven in 1988 by James Allen and Victor Allis independently. However, in practical play the game remains competitive because perfect play is rare. The Hard AI uses look-ahead search to play strongly but is not guaranteed to be perfect in all positions, making games genuinely winnable by skilled human players.
Yes. Select 2-Player mode to enable local two-player play. Both players take turns on the same device — Red goes first, then Yellow alternates. Click the column where you want to drop your disc. This mode has no AI involvement — it is purely human vs human. Running win/loss scores are tracked for the current session and displayed in the scoreboard above the board.
The centre column (column 4 of 7) is the strongest opening move for the first player. It provides the most potential connections in all four directions. The worst opening positions are the outer columns (1 and 7), which limit your connectivity significantly. If you play second as Yellow, placing your first disc adjacent to or in the centre is important to contest control of the board's most valuable positions early.
Yes. This Connect Four online game is completely free with no account, download, or payment required. Both single-player (vs AI) and two-player local modes are included at no cost. The game runs in your browser on desktop and mobile. You can play as many games as you like with no limits or subscriptions of any kind.
Yes. The board is touch-compatible and works on iOS Safari and Android Chrome. Tap the column where you want to drop your disc — either the ▼ arrow above the column or anywhere in the column. The board scales to fit mobile screen sizes. No app installation is needed. The keyboard shortcuts (1–7) are useful on desktop but not required on mobile.
The Hard AI uses a multi-step look-ahead (minimax search) to evaluate future positions and select moves. It prioritises winning moves when available, blocks your immediate winning threats, and builds multi-directional threats of its own. The Hard AI is significantly stronger than Easy (which plays randomly) and will punish poor positional play. It is a genuine challenge for casual players, though it may not play perfectly in all complex positions.
If all 42 cells are occupied and neither player has completed a four-in-a-row, the game ends as a draw. Draws are relatively uncommon because the board density and first-player advantage make it difficult for both sides to block all winning threats simultaneously. A draw typically results from both players playing very defensively, or the board filling in a pattern where all potential four-in-a-row lines are blocked by a mix of red and yellow discs.