Skip to main content
GARGLOO

Four in a Row Online

Classic 7×6 board — vs computer or a friend on one device.

Runs on your device

At a glance

Processing:
Runs locally in your browser
Privacy:
Nothing you type is sent to a server

Last updated: 2026-11-12

Common use cases

  • A quick game against the computer on Medium while waiting — easy to learn, hard to master
  • Two players on one phone, passing it back and forth — red vs yellow
  • Teaching a child the game: first to four, with undo for take-backs
  • Testing whether the centre-column opening really gives the first player the edge

About this tool

The family classic: a 7-column by 6-row grid, 42 slots, and one goal — line up four discs before your opponent does. Play against the computer on Easy, Medium or Hard, or against a friend on the same device. Tap a column to drop, use keys 1–7 on a keyboard, undo as much as you like, and watch the winning four light up. Your score is saved in your browser and nothing leaves the tab. Two honest notes: the game was solved in 1988, so the first player has the edge with perfect play — and there is no online play here, by design.

How to use it

  1. Tap a column (or press keys 1–7) to drop your disc — it falls to the lowest free slot.
  2. Red goes first, then players alternate. In vs-computer mode you are red.
  3. Win by lining up four of your discs: horizontally, vertically, or diagonally.
  4. Block your opponent: three in a row with an open fourth slot wins on the next move.
  5. Made a mistake? Tap Undo — in vs-computer mode it takes back your move and the computer's reply.
  6. Tap New game to start over. Your wins and draws stay in the score bar.

Worked examples

Input: Red drops in columns 1, 2, 3, 4 on the bottom row

Output: Four in a row — Red wins

A horizontal four on the bottom row is the most common way to win.

Input: Yellow has three stacked in column 4

Output: Red drops in column 4 to block

A vertical three must be blocked at once — the next disc in that column wins.

Input: Full board, 42 discs, no four in a row

Output: Draw

A full board with no four in a row is a draw — it takes all 42 moves to get there.

Practical tips

  • Open in the centre column — the solved game says the first player only wins from there.
  • Build two threats at once: a row that can complete in two different columns cannot be blocked in one move.
  • Watch the diagonals — they are the easiest wins to miss, for you and for your opponent.
  • Count to three before you drop: if your move opens a four for the other side, pick another column.

Common mistakes

  • Chasing your own four and never blocking — an open three wins on the next move, whoever holds it.
  • Dropping into a column that completes the opponent's diagonal — the disc lands where the diagonal needs it.
  • Assuming a full-looking board is a draw — the game only draws when all 42 slots are filled with no four in a row.

How this compares

Dedicated Four in a Row sites add online rooms, accounts, leaderboards and timers. This one is the simple offline version: no signup, no accounts, vs computer with three honest difficulty levels or two players on one device, unlimited undo, and a page that tells you the game is solved instead of pretending the computer is unbeatable. The tradeoff is scope: no online play against strangers, no leaderboard, and no custom boards — just the classic game, local and private.

Good to know

  • Local play only — vs computer or two players on one device; no online multiplayer, no accounts, no leaderboard.
  • The computer levels are capped searches (Easy depth 2, Medium depth 4, Hard depth 6), not perfect play — Hard is strong but beatable.
  • Games and scores live in this browser only — clearing site data erases them.
  • Keyboard keys 1–7 work on desktop; on phones, tap a column to drop.

Frequently asked questions

Is Four in a Row free?

Yes, completely free. No signup, no download, no payments — play against the computer or a friend on the same device.

What is the difference between Four in a Row and Connect Four?

It is the same game. Connect Four is Hasbro's trademark name for it; this page uses the generic name, Four in a Row. The rules are identical: drop discs into a 7×6 grid and be the first to line up four.

Can I play against a friend online?

No. There is no online multiplayer here — the game runs entirely in your browser with no server. You can play against the computer (Easy, Medium or Hard) or against a friend on the same device, passing it back and forth.

Is the Hard computer unbeatable?

No. The game was solved in 1988 (James Allen and Victor Allis): with perfect play the first player wins, only by opening in the centre column. The Hard level is a capped search (depth 6), not perfect play — it is strong, but it can be beaten, and the first player has the edge.

How do I play on a phone?

Tap a column to drop your disc. On a keyboard, press 1–7 for the seven columns and U to undo. The winning four lights up, and your score is saved in your browser.

Is my score saved?

Yes, your wins and draws are saved in your own browser only. Nothing is uploaded and there is no account — clearing site data erases them.

All games
Four in a Row Online | GARGLOO