THINK ONE MOVE AHEAD
Connect 4
Four in a row. One good plan. Make the next round yours.
How a DoStrike Connect 4 match works
- The grid has seven columns and six rows. Choose a column and your disc drops to the lowest empty space in it.
- Four of your discs in a horizontal, vertical or diagonal line wins the round. A full grid with no line is a draw, and a drawn round is replayed.
- A match is first to two round wins, and players take turns starting each round so neither side keeps the first-move advantage.
What each computer level does
Easy chooses a random legal column. Medium takes an immediate win, blocks your immediate win, and otherwise usually plays one of the central columns. Hard also wins and blocks first, then searches five to six moves ahead with alpha-beta pruning, favouring the centre. Hard is strong but not a perfect solver, so a threat prepared deeper than its search can still beat it.
Ideas to try in your next round
- The middle column takes part in more possible lines of four than any other column, so early centre discs give you more options later.
- Gravity matters: a threat only counts once the space beneath it is filled. Avoid playing directly under your opponent’s winning square.
- Two threats stacked one above the other in the same column are very hard to stop, because blocking the lower one gives you the upper one.
See worked endings: a saving draw and a block that cannot save →