4 in a Row

Play the classic Connect Four game against an intelligent AI or challenge a friend. Drop discs to connect four in a row horizontally, vertically, or diagonally.

First Move:
Red's Turn
Red 0
Draws 0
Yellow 0

When to Play 4 in a Row

Play the classic strategy game for entertainment and brain training:

Frequently Asked Questions

How do I place a disc?
Click or tap any cell in the column you want, and your disc will drop into the lowest available slot. You can also use the keyboard shortcuts.
How do I win 4 in a Row?
Connect four of your discs horizontally, vertically, or diagonally. The game ends immediately when a win is detected.
What do the difficulty levels mean?
Easy plays random valid moves, Medium looks for immediate wins and blocks (and prefers the center), and Hard plays a stronger search-based strategy.
Can I play with the keyboard?
Yes. Use 1–7 for columns, ←/→ to choose a column, and Enter or Space to drop a disc. N starts a new game and R resets the score.
Does the game save my score?
The scoreboard tracks wins and draws during your current visit. Use “Reset Score” to clear it. Refreshing the page resets the score.