Four in a Row: Line Up 4 to Win

Set up a new game

New game

Opponent
Players
Red
Yellow
Who goes first

Four in a Row is a strategy game for two players on an upright grid of 7 columns and 6 rows. Players take turns dropping a disc into a column, where it falls to the lowest open space, and the first to line up four of their own discs across, up and down, or diagonally wins. A game usually takes five to ten minutes. Play it here with a friend on one phone, tablet or computer, or against the computer at three levels. It is free, there is nothing to sign up for or download, and it keeps working offline.

Friends on their own phones? Play Four in a Row online with friends: start a room, send the link, and drop your discs from your own device.

Four in a Row, play with a friend: a game in progress, red and yellow discs stacked in the middle columns of the grid

How to play Four in a Row

  • The grid has 7 columns and 6 rows, 42 spaces in all. Each player has their own disc color.
  • Players take turns. On your turn you drop one disc into any column that is not full.
  • The disc falls straight down to the lowest empty space in that column. You can’t place it higher up.
  • The first player to make four in a row wins: across, up and down, or diagonally. A line of five counts too.
  • A full column is closed for the rest of the game.
  • If all 42 spaces fill up and nobody has four in a row, the game is a draw.
  • Discs never move once they are dropped, and you can’t skip your turn.

For the finer points, such as what counts as a line, who should start and popular variants like pop-out, read the complete Four in a Row rules.

Prefer to watch? See the 5-minute video on the Four in a Row rules page.

Play Four in a Row on one device

This version is made for pass and play. Type both names, choose who goes first and start. The bar above the grid always shows whose turn it is, and when someone wins, the four winning discs are highlighted.

  • Big columns: tap or click anywhere in a column to drop your disc there. A full column can’t be chosen.
  • Not just color: each player’s discs carry their own marking, so you can tell them apart without relying on red and yellow.
  • Pass screen (optional): turn it on in the setup or in the More menu, and a “Pass to Maya” screen appears between turns.
  • Undo: dropped in the wrong column? Undo takes the disc back. Against the computer it takes you back to your own turn.
  • Rematch and score: after each game, Rematch starts a new one where the other player goes first, and a running score for your session is kept.
  • Auto-save: the game saves after every move, so a refresh or a closed tab doesn’t lose it.
  • Offline: once loaded, it works with no Wi-Fi or mobile data.

You can also play with the keyboard: the Left and Right arrow keys choose a column, and Enter or Space drops the disc.

Play against the computer

No one around? Choose vs Computer and pick a level:

  • Easy plays some of its moves at random and only looks one move ahead. It grabs most wins it can see, but it often misses your plans and sometimes forgets to block. A good level for children and first games.
  • Medium looks three moves ahead for both sides. It always takes a winning space, blocks every single threat it can, and avoids dropping a disc that would hand you a win. A double threat can still beat it.
  • Hard searches far deeper, thinking for up to about a second per move. It sets traps of its own and rarely slips, especially when the grid fills up and every move is forced.

Who starts matters a lot in this game. Try both sides: beating Hard is much easier when you drop the first disc, and holding it to a draw as the second player is a real achievement.

Quick tips

  1. Start in the middle column. A space in the middle of the center column belongs to 13 different possible lines of four. A corner space belongs to only 3.
  2. Look for threats before every move. Check every row, column and diagonal for three of your opponent’s discs with the fourth space open, and block it if they can reach it next turn.
  3. Mind the space above. If your opponent needs a space that is still hanging in the air, don’t drop a disc directly below it. Your disc would give them the support they need.

The Four in a Row strategy tutorial walks through a full game move by move and explains double threats and the odd and even row rule that decides many endgames. If you like lining things up, try a quick round of Tic-Tac-Toe or go for five in a row on the big board of Gomoku.

Learn Four in a Row

Four in a Row FAQ

Something else? Ask us.

Can two people play four in a row on one phone or tablet?

Yes, that is what this page is built for. Choose With a friend, type both names and take turns on the same phone, tablet or computer. Tap a column to drop your disc. You can switch on a pass screen that shows whose turn it is before every move.

How strong is the computer on Hard?

Hard is a tough opponent. It thinks for up to about a second per move, looks many moves ahead and rarely misses a threat, especially late in the game. Start on Easy or Medium, and move up once you beat Medium regularly.

Does the first player have an advantage?

Yes. Computer analysis in 1988 showed that the player who drops the first disc can always win with perfect play, starting in the middle column. People don't play perfectly, so the second player still wins plenty of games. Rematch lets the other player start each new game.

What happens when the grid is full?

If all 42 spaces are filled and nobody has four in a row, the game is a draw. A disc that completes a line of four in the very last space still wins.

Does the game work without internet?

Yes. After you open the site once, the game is stored on your device and works offline, for example on a plane or in the car. Your current game is saved after every move, so a closed tab doesn't lose it.

All articles
All games

Collections with Four in a Row

Four in a Row is in four collections: board games for kids, games vs computer, offline games and 2 player games.

Add to your Home Screen

Install Pass and Play Games so it opens like an app and works offline.

  1. Tap the Share button in Safari’s toolbar.
  2. Scroll down and tap Add to Home Screen .
  3. Tap Add. The games now open from your Home Screen.

Settings

Look

ThemeSystem follows your device.
LanguageEnglish

Playing

Accessibility

MotionReduce turns off sliding; fades stay.

Your data

Saved in this browser only.

App

Send feedback

Tell us what works, what doesn’t, or what to add. It comes straight to us.

What’s it about?

The page, the game and your type of device come with it, so you don’t need to say which game.