P
PLAYROOM
CONNECT FOUR
vs AI ← Back to Games

Connect Four

Drop discs and line up four. Play against clever AI or challenge a friend locally.

Turn
Red
Red Wins
0
Yellow Wins
0
Streak • Best
0 • 0

🎮 How to Play

  • Goal: Connect 4 discs of your color vertically, horizontally or diagonally.
  • Tap a column arrow or click a cell to drop. Discs stack from bottom.
  • Keys 1–7 drop in that column.
  • Block opponent's 3-in-a-row or you lose!
  • Streak counts consecutive wins. Best is saved.
Red moves first 7 × 6 board

⌨️ Controls

Click column / cell, 1-7 drop, U undo, N new game, M toggle mode.

Touch: Use top arrows. Hover preview shows drop position. Board locks during disc fall.

Tip vs AI: Control center — the AI loves it. Play defensive early, then force two threats.

🏆 Strategy Mode

AI uses minimax depth 4 + alpha-beta. It scores center control, windows of 4, and blocks your traps.

  • Modes: vs AI (unbeatable-ish) and 2 Players local.
  • You can play Red or Yellow. Red always starts per rules, but you can toggle who starts.
  • Undo rewinds last full turn (both players in vs AI).

About Connect Four

📁 Strategy 🎯 Difficulty: Easy ⏱️ Duration: 3–5 min ⚡ Instant Play (No Download) 📱 Desktop & Mobile

📖 How to Play & Objective

Drop your colored checkers into a 7-column vertical grid. Outsmart your opponent by connecting four consecutive discs in any direction before they do.

  • Discs drop straight down to the lowest unoccupied space in the selected column.
  • Win by connecting 4 of your colored discs horizontally, vertically, or diagonally.
  • Both players alternate turns one drop at a time.

🎮 Controls Guide

💻 Desktop:
Number keys 1–7 to select column ; or ← / → + Enter
📱 Mobile:
Tap the column header or column area where you wish to drop your disc

💡 Tips & Strategy

  • Control the central column (Column 4); it provides the most geometric winning lines.
  • Set up vertical traps where the opponent cannot block without giving you the win on the next turn.
  • Always scan diagonals — diagonal four-in-a-rows are the most frequently overlooked winning lines.