Connect 4
Red's Turn
Quick rules

How to play

4 in a row wins
1 Choose a columnClick or tap to drop your token into the board.
2 Take turnsPlay against the AI or switch to local 2-player mode.
3 Connect fourLine up four tokens vertically, horizontally, or diagonally.
Watch demo Open on YouTube

Play Connect 4 Online

Play Connect 4 online by dropping red and yellow tokens into a 7-column board. The goal is to connect four tokens vertically, horizontally, or diagonally before your opponent does. You can play against the computer, use local 2-player mode, undo moves, and restart the game.

How to Use This App

  • Choose 1 Player to play against the computer, or switch to 2 Players
  • Select a difficulty level when playing against the AI
  • Click or tap a column to drop your token
  • Take turns placing red and yellow tokens on the board
  • Connect four tokens vertically, horizontally, or diagonally to win
  • Use Undo to review or reverse recent moves
  • Restart the game to clear the board and play again

Examples and Use Cases

Examples

Example 1: Play against the computer

Choose 1 Player mode, select a difficulty level, and drop your token into a column. Try to build a line of four while blocking the computer’s possible winning moves.

Example 2: Play with another person

Switch to 2 Players mode and take turns on the same device. One player uses red tokens and the other uses yellow tokens.

Example 3: Practice a basic strategy

Start near the center columns to create more possible horizontal and diagonal lines. Before each move, check whether your opponent has three tokens in a row that need to be blocked.

Example 4: Review a move

Use the Undo button when available to reverse a recent move and try a different column. This can help you compare choices and understand how a winning line develops.

Helpful Details

Connect 4 Strategy Tips

Connect 4 is simple to play, but strong moves often come from planning one or two turns ahead. The goal is to connect four tokens vertically, horizontally, or diagonally while also blocking your opponent’s possible lines.

  • Start near the center: Center columns usually give more ways to build horizontal and diagonal connections.
  • Check for three in a row: Before placing your token, look for any immediate winning move your opponent may have.
  • Create more than one threat: A strong move can set up two possible winning lines, making it harder for the other player to block.
  • Watch diagonals carefully: Diagonal wins are often easier to miss than vertical or horizontal wins.

Common Mistakes to Avoid

Many Connect 4 losses happen because a player focuses only on their own line and misses the opponent’s next move. Defensive moves can be just as important as attacking moves.

  • Ignoring the next turn: A move may look useful but still allow the opponent to win immediately.
  • Playing only on the edges: Edge columns can help in some situations, but they offer fewer connection directions.
  • Missing vertical stacks: Several tokens in one column can quickly become a winning threat.
  • Forgetting to block: If the opponent has three connected tokens, blocking may be the best move.

Game Modes and Controls

This browser-based Connect 4 game includes 1-player mode against the computer and local 2-player mode on the same device. The controls also support undo, restart, difficulty selection, sound control, and light or dark display mode.

  • 1 Player mode: Play against the computer and choose a difficulty level.
  • 2 Player mode: Take turns with another person on the same screen.
  • Undo: Reverse recent moves when available and try a different column.
  • Restart: Clear the board and begin a new game.
  • Theme and sound controls: Adjust the display and sound settings while playing.

Frequently Asked Questions

How do I win Connect 4?

Drop your tokens into the columns and try to connect four of your tokens in a row vertically, horizontally, or diagonally.

Can I play against the computer?

Yes. Use 1 Player mode to play against the computer, and choose the available difficulty level before or during a game.

Can two people play on the same device?

Yes. Switch to 2 Players mode and take turns placing red and yellow tokens on the same board.

What does the Undo button do?

The Undo button reverses recent moves when available, so you can review a mistake or try a different column.

Does the game work on mobile?

Yes. The game is designed to work in a browser on desktop, tablet, and mobile screens.

What happens when the board is full?

If the board fills up and no player has connected four tokens, the game ends in a draw.