Browser Games›Four in a Row
Drop your discs into the board and be the first to line up four. Play against the computer on Easy, Medium or Hard, or switch to two players and share the screen with a friend. A game takes two or three minutes, and the side that starts changes every time.
How to play Four in a Row
- The board has 7 columns and 6 rows. The two sides take turns dropping one disc into a column.
- A disc falls to the lowest empty square of its column. You cannot place a disc in mid-air or in a full column.
- The first side to line up four discs wins. The line can run across, down or diagonally.
- If all 42 squares are filled and nobody has four in a line, the game is a draw.
How to use this board
- Select a column to drop your disc. On a phone, tap anywhere in the column. A preview disc above the board shows where you are aiming and whose turn it is.
- You play red and the computer plays gold. The card with the coloured outline shows who is to move.
- Choose 2 players to play a friend on the same device. Red and gold then take turns on the same screen.
- Undo takes back your last disc together with the computer’s reply. Hint lights up a good column in blue.
- The last disc played has a white dot. When a game ends, the winning four are ringed in white.
- With a keyboard, move between the columns with Tab and drop with Enter or Space.
The three levels
- Easy: looks two moves ahead, sometimes drops at random and often forgets to block. Good for learning and for children.
- Medium: looks five moves ahead. It always takes a winning move and always blocks yours, so you need two threats at once to beat it.
- Hard: thinks for about half a second and usually sees twelve or more moves ahead. It plans for the endgame, when the board fills up and both sides run out of safe moves.
Four in a Row strategy for beginners
- Play the centre column. A disc in the middle can be part of far more lines than one on the edge.
- Before every move, look for three discs of the other colour with an open fourth square. Block it at once if the square can be filled now.
- Make two threats at the same time. The other side can only block one, and you win with the other.
- Check the square above your move. If your disc gives the other side a platform for a winning disc, choose another column.
- Three in a line with both ends open and playable cannot be stopped. Watch for the chance to build one, and never let the computer have it.
- Late in the game the columns fill up and someone is forced to play under a winning square. Count the free squares to see who that will be.
Rules used here
This is the classic game on a 7 by 6 board. Against the computer you are always red, and the starting side alternates with each new game because moving first is an advantage. In the two-player mode red and gold also take turns to start. Your record for each level, the two-player score and the game in progress are saved in this browser.
Frequently asked questions
Who goes first?
The starting side changes with every new game. In your first game you start. In the next one the computer does, and so on.
Can I play with a friend?
Yes. Choose 2 players at the top. Red and gold take turns on the same phone, tablet or computer.
Is going first an advantage?
Yes. With perfect play the side that moves first can force a win by starting in the centre column. That is why the start alternates here.
Do diagonal lines count?
Yes. Four discs in a line win across, down or along either diagonal.
Is it free?
Yes. There is no sign-up and no download, and you can play as many games as you like.
Can I continue a game later?
Yes. The game is saved in this browser after each move and opens again when you come back.
More games to play
Slide OutSlide the bars and free the gold key bar. 80 boards.
Crate PushA box-pushing puzzle in 60 warehouse rooms.
Kanban FlowFinish the project in the fewest days.
Lift LogicBring everyone to their floor in the fewest moves.
Cell ValueFind the number behind every letter.
No Blind SpotsPlace cameras so that no square is a blind spot.
Handy free tools
- Email & URL CheckAnalyze email headers and URLs locally on your device to check From and Reply-To fields, authentication results, Punycode, shortened URLs, similar…
- Data ConverterConvert between JSON, CSV, XML, and YAML, plus Base64, URL encoding, HTML entities, number bases, and Unix time—all in your browser.
- Regex TesterTest JavaScript-compatible regular expressions in real time.
- ALLAll free toolsSee all 36 tools in one list.