Connect Four
Drop red and yellow discs into a lacquered 7x6 board, face layered AI, or switch to local 2-player mode on the same screen.
Choose your matchup
Three difficulty levels with first or second move choice.
Difficulty
Choose your color
Against AI
Persistent stats
2 Players
Why Connect Four still works
Connect Four is simple to learn and dense with short-term tactics. Every move changes the support structure underneath future discs, so timing matters just as much as pattern recognition. That mix makes it feel instantly readable and surprisingly deep. This version is built around that tension. You can choose to move first or second, switch between AI difficulties, or hand the same screen to another player for local matches. Winning lines are highlighted clearly, and the board keeps separate records for each AI difficulty.
How to play
Pick a column
Click or tap any open column. Your disc falls to the lowest available slot in that stack.
Build four in a row
Connect four discs horizontally, vertically, or diagonally before your opponent does.
Control the center
Middle columns create more diagonal and horizontal possibilities, so they are usually stronger than the edges.
Features
Three AI levels
Play casual rounds on Easy, practical defense on Medium, or deeper board reading on Hard.
2-player local mode
Switch to pass-and-play mode for same-device matches without leaving the page.
Choose first or second
Start as red or let the AI open and respond as yellow.
Animated board feedback
Discs fall into place, hover previews appear over open columns, and winning lines blink clearly.
Saved records
Wins, losses, and draws are saved locally by difficulty, plus a separate 2-player record.
FAQ
Can I play with a friend on one phone?
Yes. Choose 2 Players and the game alternates turns on the same device.
What makes Medium and Hard different?
Medium reacts to one-turn wins and blocks. Hard searches deeper positions with a minimax-based evaluation.
Are my stats saved online?
No. Statistics are stored only in your browser with localStorage.
Why is choosing first or second important?
First move advantage matters in Connect Four, so being able to start as red or answer as yellow changes the feel of the match.