Skip to content

Four in a Row – drop your discs and line up four

Embed this game on your site

Free for blogs, schools, libraries and clubs. Paste this HTML where you want the game to appear; please keep the credit link.

Quick answer

Four in a Row is a free two-player vertical strategy board game that plays instantly in your browser on phones, tablets and computers, with no download, sign-up or ads. Drop discs into a 7-column, 6-row grid and be first to line up four across, down or diagonally.

Four in a Row at a glance
What it isTwo-player vertical strategy board game
GoalDrop discs into a 7-column, 6-row grid and be first to line up four across, down or diagonally
ModesAgainst the computer (Easy, Medium, Hard with a minimax search) or 2 players on one device
ControlsTap or click a column, or press 1-7; arrow keys and Enter; undo
Players1 against the computer, or 2 on one device
PriceFree, no ads, no sign-up, no download
Works onPhones, tablets and computers, in any modern browser

Board games compared

Board games compared
GameTypeModesControls
ChessTwo-player strategy board gameAgainst the computer (Beginner, Club, Tactician: minimax search with alpha-beta pruning and piece-square tables) or 2 players on one device; play White or BlackTap or click a piece, then a highlighted square; arrow keys and Enter; undo
CheckersTwo-player diagonal capture board game (draughts)American rules on 8×8: compulsory jumps, multi-jump chains, kings that move both ways; Easy, Medium and Hard computer or 2 playersTap a piece, then each landing square; arrow keys and Enter; undo
DominoesTile-matching game with a double-six setDraw game or Block game; against 1, 2 or 3 computer playersTap a glowing tile to play it; ◀ or ▶ when it fits both ends; Draw and Pass buttons
BackgammonTwo-player race board game with diceAgainst the computer (Easy, Medium, Hard with a one-roll lookahead) or 2 players; gammons and backgammons count double and tripleRoll, tap a checker, then a highlighted point; undo moves until you press Done
Tic Tac ToeTwo-player line-up game (noughts and crosses; Five in a Row / Gomoku)3×3 against Easy, Medium or Unbeatable (full minimax) or 2 players; 15×15 Five in a Row against Easy or HardTap a square; arrow keys and Enter; keys 1-9 on 3×3
Four in a RowTwo-player vertical strategy board gameAgainst the computer (Easy, Medium, Hard with a minimax search) or 2 players on one deviceTap or click a column, or press 1-7; arrow keys and Enter; undo

The classic vertical strategy game

Four in a Row is played on an upright grid seven columns wide and six rows high. Players take turns dropping a disc into a column, and it falls to the lowest empty space. The first to line up four discs in a row (across, down or diagonally) wins.

How to win more games

  • Take the centre. Discs in the middle column can join the most lines. Start there and keep building around it.
  • Make two threats at once. A move that creates two different rows of three cannot be blocked twice. That is how most games are won.
  • Look under the threat. Before you drop a disc, check whether it lets your opponent play on top of it to complete a line.
  • Think in rows of three. Count which empty spaces would finish a line for each player; the player who controls more of the lower ones usually wins the endgame.

Three computer levels, or a friend

Easy is relaxed and makes mistakes. Medium never misses a direct win or block. Hard thinks seven moves ahead and punishes loose play. Or pick 2 players and play a friend on the same device.

How to play Four in a Row

  1. 1

    Drop a disc

    Tap or click a column, or press 1 to 7. Your disc falls to the lowest free space in that column.

  2. 2

    Take turns

    Red and Gold take turns. Against the computer you start as Red; in the next game the computer starts.

  3. 3

    Line up four

    Four discs of your colour in a straight line across, up and down, or diagonally wins the game.

  4. 4

    Block and plan

    Watch your opponent's lines and block a row of three before it becomes four. If the grid fills with no line of four, the game is a draw.

More board games

  • Chess

    The full game of chess against three computer levels or a friend, with move hints and undo.

  • Checkers

    Classic 8×8 checkers with forced jumps and kings, against three computer levels or a friend.

  • Dominoes

    Match the open ends with a double-six set. Draw or Block game, two to four players, first to 100.

  • Backgammon

    Race all fifteen checkers home and bear them off first. Three computer levels or a friend.

  • Tic Tac Toe

    Classic 3×3 noughts and crosses with an unbeatable computer, plus Five in a Row on 15×15.

Frequently asked questions

How strong is the computer?

Easy looks only two moves ahead and sometimes plays at random. Medium looks four moves ahead and never misses a direct win or block. Hard searches seven moves deep with alpha-beta pruning and is a tough opponent.

Can two people play on one device?

Yes. Choose 2 players and pass the phone or share the mouse. Red always starts a two-player game.

Who goes first?

Against the computer, you play first as Red in your first game, then the start alternates. Moving first is an advantage, so try to win as the second player too.

What is the best opening move?

The middle column. A disc there takes part in more possible lines of four than any other, which is why strong players and the Hard computer open in the centre.

Can I undo a move?

Yes. Undo takes back your last move and the computer's reply, so you can try a different idea.

Is my record saved?

Your wins, losses and draws against each computer level are kept in your browser on this device.

Prefer a solo puzzle?

Sudoku is pure logic with one solution per grid, in four difficulty levels.

Play Sudoku
More classic games