Four in a Row board, seven columns by six rows. Use the arrow keys to move between columns and Enter or Space to drop a disc into the focused column. Get four discs in a line across, down or diagonally to win. Z takes back your last move and N starts a new game.

About Four in a Row: Hard

On Hard the computer searches as deep as it can in under a second, blocks open threes and builds threats of its own.

Look for moves that create two threats at once: the computer can only block one.

How to play Four in a Row

Be the first to line up four of your discs in a row: across, up and down, or diagonally.

The table

  • The board: seven columns and six rows, standing upright.
  • You and Turn (toolbar): your colour and whose turn it is.

Rules

  • Red moves first. On your turn, drop one disc into any column that is not full. It falls to the lowest empty space.
  • Four of your discs in an unbroken line wins straight away.
  • If all 42 spaces fill up with no line of four, the game is a draw.

Controls

Touch
Tap anywhere in a column to drop a disc into it.
Mouse
Click anywhere in a column to drop a disc into it.
Keyboard
Left and right arrows move between columns. Enter or Space drops a disc.
Z takes back your last move and N starts a new game.

Tips

  • The middle column is part of more lines of four than any other, so it is worth taking early.
  • Before every move, check whether the computer has three in a line with a space it can reach.
  • Try to make two threats at once. The computer can only block one of them.

Four in a Row questions

How strong is Hard?
It searches as deep as it can in under a second, blocks threats it can see coming and builds its own.
Can the first player always win?
With perfect play the first player can force a win, but it takes very precise moves. Against the computer, playing Red gives you the first move.
Is a draw possible?
Yes. If all 42 spaces fill up with no line of four, the game is a draw.
Who goes first?
Red. Choose Red in Settings to move first, or Gold to let the computer start.
Do diagonal lines count?
Yes. Four in a line in any direction wins: across, up and down, or diagonally.
Can I see where my disc will land?
Yes. Show where discs land, on by default, marks the space each column would fill next.

More games