How to Play Four in a Row: Rules, Strategy and Tips

Updated

Four in a Row is a two-player game where you take turns dropping discs into an upright grid of 7 columns and 6 rows. The first player to line up four of their own discs across, up and down, or diagonally wins.

Quick facts
Players2
Board7 columns × 6 rows, standing upright; one disc color per player
Length of a gameUsually 5 to 10 minutes; at most 42 discs
GoalBe the first to line up four of your discs in a row
Also known asGravity tic-tac-toe (the pencil-and-paper form)
Play Four in a Row nowFree in your browser, against bots or with friends. No sign-up.

Setup

Four in a Row is played on an upright grid with 7 columns and 6 rows, 42 cells in all. The grid starts empty. Each player has their own color of discs, and there are always enough discs to fill the board.

Because the grid stands upright, a disc can never float: it always falls to the lowest free cell of the column you choose. That single idea, gravity, is what makes the game deeper than tic-tac-toe on a larger board.

Who goes first is decided at random for the first game of a match. After that, the players take turns starting, so in a longer match each player gets the first move about as often as the other.

How to play

Players alternate turns, one disc per turn, until someone wins or the board is full.

  1. On your turn, pick any column that still has at least one empty cell.
  2. Drop one of your discs into that column. It slides down and stops in the lowest empty cell.
  3. Check the board: if your new disc completes a line of four of your color, you win at once.
  4. If not, it is your opponent’s turn. You can’t pass, and you can’t drop into a full column.

Winning and draws

You win the moment four of your discs line up next to each other in a straight line: across (horizontally), up and down (vertically), or diagonally in either direction. The game stops right there; nobody plays on.

A disc that makes a line of five, or two lines at once, is still simply a win. A four made with the very last disc, the 42nd, also counts as a win rather than a draw.

If all 42 cells are filled and nobody has four in a line, the game is a draw. Draws are rare between strong players but do happen, especially when both sides defend carefully.

Matches

A match is first to 1, 3 or 5 game wins, with a single game as the default. A drawn game scores nothing for either player, and the match simply continues with the next game until someone reaches the target.

Strategy

Four in a Row looks simple, but it rewards planning. The standard 7 × 6 game has been solved by computer: with perfect play the first player can force a win by starting in the middle column. You don’t need perfect play to beat most opponents, though. These ideas will take you a long way.

Control the center

The middle column is the most valuable on the board because it takes part in more possible lines of four than any other column: across, and both diagonals. Discs in the outer columns can only join a few lines. Early in the game, prefer the center and the columns next to it.

Build threats, not just lines

A threat is an empty cell that would complete four for you. The strongest position has two threats at once: your opponent can block only one, so you win with the other. Look for shapes where three of your discs point at two different empty cells.

Also watch for a threat that sits directly above one of your opponent’s threats, or above a cell neither of you wants to fill. The cell underneath becomes poison: whoever plays there hands the other player the cell above.

Odd and even rows

Late in the game, when the columns are filling up, the order in which cells get filled becomes predictable. As a rule of thumb, the player who moved first benefits most from threats on the 1st, 3rd and 5th rows (counting from the bottom), and the second player from threats on the 2nd, 4th and 6th rows. When you choose which threat to build, prefer rows that suit your side.

Defend before you attack

Before every move, check two things: can you win right now, and can your opponent win on their next move? Then check what your disc does to the cell above it. Many games are lost by dropping a disc that lets the opponent play on top of it into a winning cell.

Variations

People play this game in several other ways, none of which are the default here. Some use bigger or smaller grids, such as 8 × 7. A popular variant lets a player pop one of their own discs out of the bottom row instead of dropping one. On paper, gravity tic-tac-toe is played on a drawn grid where each mark must sit on the bottom row or on top of an earlier mark. On Ligaya Games the board is always 7 × 6 and every turn is a single drop.

Playing Four in a Row on Ligaya Games

You can play Four in a Row free in your browser, on a phone or a computer, with nothing to download. Play solo against a bot at Easy, Medium or Hard, or choose Play a friend to make a room and send the link in any chat app. The game starts as soon as your friend joins.

Games with a friend are turn-based, so you don’t both need to be online at once. Each turn has 3 days. After your move, the Send your move button shares the link so your friend knows it’s their turn. If a player runs out of time, the other can claim the win. In the game, tap anywhere in a column to drop your disc; the last disc played is marked with a dot and a winning line is ringed.

Tips for beginners

  • Start in or near the middle column; it belongs to more possible lines of four than any other.
  • Before each move, check whether you can win now and whether your opponent can win next turn.
  • Look at the cell above where your disc will land: don’t hand your opponent a winning spot.
  • Aim for two threats at once, since your opponent can only block one of them.
  • Diagonal lines are easy to overlook, for you and your opponent alike, so scan for them every turn.

Frequently asked questions

How many discs do you need in a row to win?

Four of your own discs next to each other in a straight line: across, up and down, or diagonally. A longer line also wins.

Can you win with a diagonal line?

Yes. Diagonals in both directions count, exactly like horizontal and vertical lines.

What happens if the board fills up?

If all 42 cells are filled and nobody has four in a line, the game is a draw. In a match, a draw scores nothing and play continues with the next game.

Can I skip my turn?

No. You must drop a disc every turn, into any column that isn’t full.

Who goes first?

The first game of a match starts with a random player. After that, the players take turns starting each game.

Does the first player have an advantage?

Yes. Computer analysis has shown that on a 7 × 6 board the first player can always win with perfect play, starting in the center column. In practice, mistakes decide most games, which is why the start alternates in a match.

Is this the same game as the one sold in toy stores?

It follows the same traditional rules found in many store-bought versions: a 7 × 6 upright grid, discs that drop to the bottom, and four in a line to win. The pop-out variant isn’t offered here.

Can I play Four in a Row with a friend online?

Yes. Create a room, send the link, and take turns whenever suits you. Each turn has 3 days, so you can play a game over a lunch break or over a whole weekend.

Ready to play Four in a Row?

Play free in your browser against bots, or send friends a link. No download and no account.

Play Four in a Row nowLearn by playing: the interactive Four in a Row walkthrough