Skip to content

Connect 4 on a 7×7 board

Updated: 5 min read

Setting up the board…

If you take the classic board and add one row, you get a game that looks almost the same and plays differently. The rules do not change. Seven columns, four in a row in any direction, red goes first. The only difference is that every column now holds seven discs instead of six, which sounds like a small change until you try to count who gets which cell.

I like this variant for teaching, because it lets pupils see which of their habits were rules and which were accidents of the six-row board.

What changes on the board

The board holds 49 cells. That is an odd number, so red drops the first disc and also the last one, and a full board is reached after red's move. On the classic board it is yellow who makes the final move.

There are more lines to win with. On a 7×7 board there are 88 possible lines of four: 28 horizontal, 28 vertical and 32 diagonal. The classic board has 69. Vertical lines, in particular, have four places to sit in a column instead of three, from rows 1 to 4 up to rows 4 to 7.

The centre also becomes stronger. The count of lines through a cell is the usual way to measure it, and the middle cell of the board is now part of 16 lines. On the classic board the best cells, in the third and fourth rows of the middle column, have 13.

An empty seven by seven Connect 4 board with the cells of the fourth column and the fourth row marked with the numbers 7, 10, 13, 16, 13, 10 and 7161313101077Column 11Column 22Column 33Column 44Column 55Column 66Column 77
How many lines of four pass through the cells of the middle column and of the middle row. The centre is on 16 lines, the cells at the end of the cross on only 7.

Why the odd-even rule needs care

On the classic board, once the columns start to fill, red tends to get the odd rows and yellow the even rows. The reason is the second player's follow-up: whenever red plays a disc, yellow can answer on top of it in the same column. That works because a column of six cells splits neatly into three pairs. The page on odd and even threats builds on that idea.

On 7×7 it does not split. A column of seven cells has three pairs and one cell left over. When red drops the seventh disc of a column, yellow has nothing on top of it to answer with and must play in some other column. A full column takes seven discs, an odd number, so after one column is completed the player to move is the other one compared with the classic board.

A small experiment shows the mechanism. Fill column 1 by itself, alternating the colours.

A seven by seven Connect 4 board with a single full column on the left, alternating red and yellow from the bottom, red at the bottom and at the topColumn 11Column 22Column 33Column 44Column 55Column 66Column 77
Seven discs in one column, played in turn. Red made the first and the last, so yellow is now to move.

On the classic board a full column holds six discs, and the player to move is red again, just as at the start. Here it is yellow. The roles of the two sides are swapped for the rest of the board. This is why a plan like "I need the threat on an odd row" has to be rechecked on 7×7. I would treat the odd-even page as a rule for the six-row board and not apply it here without counting.

What is known about the result

John Tromp, who published results for many board sizes, lists 7×7 as a draw: with perfect play neither player wins. That is different from the classic board, where the first player wins, and from some other sizes, where the second player does. The table on the page about the solved game shows the whole range. A draw with perfect play does not mean that your games will be drawn. Between people the result is decided by whoever notices the next threat first.

I do not have verified first-move values for 7×7, so I will not name a best opening. Our computer opponent searches ahead with a heuristic on this board. The exact solver and the opening book behind the Master level exist only for the classic board, so on 7×7 the Master is strong but not perfect.

Playing it well

Count both ways. When you plan a threat, look at the row it is on and who is likely to be forced to play under it. Do that in terms of the whole board and not by habit.

Remember the tall column. A column of seven cells can hold a vertical four in rows 4 to 7. A player who ignores a stack of three in a high position finds out too late.

Use the centre, then the cross. The numbers on the diagram are plain counts: the central column and the middle row carry the most lines. A disc there adds more to your chances than one at the edge.

Expect longer games. There are 49 cells to fill. A game can wander for a long time, so the final result often depends on a few quiet moves in the late stage, when the safe cells are running out. Practise reading the end of the game and not only the beginning.

Try it in our game

Choose 7×7 board in the new game dialog. The Hint and the Review work as in the classic game, and the Review chart shows the turning points. When you want to compare, play the same opening on the classic board and see how the first ten moves feel different. For tactics that carry over between the two boards, see the page about common mistakes.

Frequently asked questions

What are the rules of Connect 4 on a 7×7 board?

They are the classic rules. Seven columns, but seven rows instead of six, and four in a row in any direction wins. Red moves first, and a full board with no line is a draw.

Who wins on a 7×7 board with perfect play?

The game is a draw. This is a published result by John Tromp, who solved Connect 4 boards of many sizes. A mistake can still decide a real game.

Does the odd-even rule from the classic game still work?

Not in the same form. The classic rule rests on columns with an even number of cells. With seven cells in a column the second player cannot answer in the same column every time, so the usual counting has to be redone.

Who drops the last disc on a 7×7 board?

Red. The board has 49 cells, an odd number, so red drops the 1st, 3rd and every odd disc up to the 49th.

Keep reading