4 in a Row is the same game as the Connect Four® game, and it’s a solved game: on the standard 7 by 6 board, the first player can always win with perfect play. People don’t play perfectly, though. Against someone who blocks every threat you make, the way to win is to make two threats at the same time.
Connect Four is a registered trademark of Hasbro, Inc. Foony’s 4 in a Row is an independent game that isn’t connected to Hasbro. If you need the rules, read how to play 4 in a Row first.
In this guide, columns are named a to g from left to right, and rows are numbered 1 to 6 from the bottom. A threat is an empty space that would finish one of your lines of 4.
The short version
- Start in the middle column.
- Before every move, check if your opponent can win next turn. Block it.
- Build two threats at once. Your opponent can only block one.
- Never play right under your opponent’s threat.
- Go first if you can. Blue goes first on Foony.
Play the middle
The middle column, d, is part of more possible lines of 4 than any other column. A piece in d1 can be part of 7 different lines. A piece in a1, in the corner, is part of only 3.
This is why the best first move is the middle. When the game was solved in 1988, by James D. Allen and Victor Allis working separately, the answer was that the first player wins by starting in the middle column. You can read more about how it was solved on John Tromp’s Connect Four page.
Keep playing near the middle after the first move, too. Pieces in columns c, d, and e block more of your opponent’s lines and start more of your own.
How to win Connect 4: make two threats at once
One threat is easy to block. Two threats on the same turn can’t both be blocked. Against an opponent who always blocks, it’s the only way to win.
Here’s a short game that shows it. Blue moves first.
- Blue d1. The middle.
- Red b1.
- Blue d2.
- Red f1.
- Blue c1.
- Red e1.
- Blue c2. Blue now has c2 and d2 on row 2. The spaces at b2, e2, and f2 can all be played, because the spaces under them are full.
- Red d3. This is the mistake. Red needed to play e2 or b2 to stop Blue from making three in a row with both ends open.
- Blue e2. Blue has c2, d2, and e2. Blue wins at b2 or at f2 next turn, and Red can only block one.
The lesson for both sides: a row of three is only dangerous when the spaces at its ends can be played. Watch for two of your pieces in a row with open, playable spaces on both sides. That’s the moment to make the third, or to block it.
Stacked threats
Another way to get two threats is to have them in the same column, one right above the other. When your opponent blocks the lower one, their piece fills the space under your upper threat, and you win there.
The 7 trap
Players talk about the “7” shape: three pieces in a row with a diagonal running down from one end, like the number 7. The lines in it share spaces, so it’s an easy shape for making two threats at once. You don’t need to aim for the exact shape. The idea to take from it is to build lines that cross each other.
Don’t play under a threat
Pieces drop to the bottom, so you can’t win on a space until the space under it is full. If your opponent has a threat at f3 and column f has one piece in it, don’t play f2. That fills the space under their threat and lets them win at f3.
The same works for you. Leave your own threats with an empty space under them, and wait for your opponent to be forced to fill it.
Odd and even rows
This is the main idea from Connect Four theory. Victor Allis describes it in his 1988 thesis on solving the game: the first player wants threats on odd rows, and the second player wants them on even rows.
Late in the game, when most columns are full, players often have to drop into the last columns whether they want to or not. Because of the order those spaces fill in, the first player tends to get the spaces on odd rows (1, 3, and 5) and the second player tends to get the spaces on even rows (2, 4, and 6).
So:
- If you moved first, a threat on row 3 or row 5 is worth more than one on row 2 or row 4.
- If you moved second, aim for threats on rows 2, 4, and 6.
When a threat is on the “wrong” row for you, the other player can often just wait until you’re forced to fill the space under it yourself.
How to beat the bots on Foony
Foony’s 4 in a Row has 6 bot levels. Here’s how they play on the standard 7 by 6 board, from the bot code as of 2026-11-19. The higher levels use trained models, and the stronger the level, the stronger the model.
| Level | Takes a win and blocks yours | How it picks other moves |
|---|---|---|
| Easy | No | Random columns |
| Average | No | Random for the first 4 moves of the game, then its model |
| Skilled | Yes, from the 5th move of the game | Its model |
| Expert | Yes, from the 5th move of the game | A stronger model |
| Master | Yes, from the first move | A stronger model again |
| Grandmaster | Yes, from the first move | Its strongest model |
- Against Easy and Average, just build a line of 4. They don’t check for your threats.
- Against Skilled and up, one threat will always be blocked. You need two at once, so play for the double threats and stacked threats above.
- On a bigger or smaller board, the bots don’t use their trained models at all. From Skilled up they still take a win and block yours, but every other move is a random column. That makes a custom board size the easiest way to beat a high level.
Ready to try it? Play 4 in a Row as Blue against a Skilled bot and start in the middle column.