Four in a Row is a quick strategy game for two, played on an upright grid with seven columns and six rows. Players take turns dropping black and white discs, and the first to line up four of their color wins. Lines count across, up and down, or on either diagonal. This version is part of Christopher Müller’s open-source PaperGames collection.
Goal of the Game
Get four of your discs in a straight, unbroken line before your opponent does. If all 42 slots fill and nobody has four, the round is a draw.
Dropping a Disc
Choose one of the seven columns. You can click or tap any cell in it. The disc falls to the lowest empty slot, stacking on top of earlier discs. A full column takes no more.
Shaded cells with a small corner mark show where the next disc would land in each column. That makes it easy to see the board as it really is, not just as it looks.
How to Control Four in a Row
| To do this | On a keyboard | With a mouse | On a touchscreen |
|---|---|---|---|
| Drop in a disc | Use Arrow keys to reach a column, then Enter to drop | Click any cell of that column | Tap any cell of that column |
| Choose a game mode | — | Hit "2 Player (local)" or "vs Computer" | Tap "2 Player (local)" or "vs Computer" |
| Play against the computer | — | Select a disc color and level, then hit "New game" | Select a disc color and level, then tap "New game" |
| Undo your previous move | — | Hit "Undo" | Tap "Undo" on screen |
| Concede the current game | — | Hit "Resign" | Tap "Resign" on screen |
Modes and Computer Levels
Pick “2 Player (local)” to share one screen with a friend. Pass the device after each turn, and the status line shows whose move it is.
Pick “vs Computer” to play alone. Choose your color and a level:
- Easy drops discs into random columns.
- Medium looks one move ahead with a dash of randomness.
- Hard searches many moves deep and rarely misses a threat.
Undo takes back a move, and Resign ends the round at once.
Strategy That Works
- Own the center. The middle column is part of more possible lines than any other.
- Make two threats. One open three is easy to block. Two at once means one will get through.
- Watch the slot beneath a threat. If your rival needs a certain cell, do not fill the one right under it.
- Think about rows late in the game. As the first player, threats on odd rows from the bottom tend to pay off. The second player does better with even rows.
- Scan diagonals every turn. Slanted lines are the ones players miss most.
Why It Stays Fun
A game lasts only a few minutes, but the Hard computer gives a real fight. It works well on phones held upright and also supports the keyboard. For another classic duel, try Dots and Boxes, or browse the card and board games page on SZ Games.
Last played and checked by SZ Games:













