The rules of tic tac toe
- Two players take turns. One plays X, the other plays O.
- On your turn, place your mark in any empty square. Marks never move once placed.
- Make an unbroken line of your marks across a row, down a column or along a diagonal to win.
- If the board fills up and nobody has a line, the game is a draw.
In Grid Duel you play X against a computer rival, or a friend takes O on the same phone. Online, the first player is picked at random and plays X, and you swap sides if you ask for a rematch.
3x3, 4x4 and 5x5 boards
On the classic 3x3 board you need three in a row. On 4x4 and 5x5 you need four in a row. On the bigger boards a single block no longer ends a line, games run longer, and the player behind has more chances to come back.
How to win at tic tac toe
Before every move, check two things in this order:
- Can you complete a line right now? Then do it.
- Can your opponent complete one on their next move? Then block it.
Only when neither is true do you get to build. On 3x3:
- Moving first, take a corner. It leaves your opponent the most ways to go wrong. The centre is safe too.
- Moving second, take the centre if it is free. If they took the centre, take a corner.
- With perfect play from both sides, 3x3 is always a draw. Winning means making the other player slip, usually into a fork.
The fork: two threats at once
A fork is a move that makes two lines of two at the same time. Your opponent can block only one, so you win with the other. Against a careful opponent, a fork is the usual way to win on 3x3, and missing your opponent’s fork is the usual way to lose.
To stop a fork, look one move ahead: if a square would give your opponent two threats, take it first, or make a threat of your own that forces them to answer.
On 4x4 and 5x5 the same idea grows into open threes; see 4x4 and 5x5 tic tac toe.
Practise against the computer
The board at the top of this page uses Grid Duel’s three rivals. Pip misses lines, Rook blocks but can be forked, and Sage never loses on 3x3. How each one thinks, and how to beat it, is in tic tac toe vs computer. Playing a friend? See two player tic tac toe.
Questions
Is tic tac toe always a draw?
With perfect play from both players, yes: 3x3 tic tac toe always ends in a draw. Wins come from mistakes, usually a missed fork. On 4x4 and 5x5, where you need four in a row, perfect play also draws, but the bigger boards leave far more room for mistakes, so real games end in a win much more often.
What is the best first move in tic tac toe?
A corner. It leaves your opponent the most ways to go wrong; the only safe reply is the centre. The centre is also a strong first move. An edge square is the weakest start.
How do you win tic tac toe every time?
You can't against a perfect player, but you never have to lose. Before every move, complete your own line if you can, block your opponent's if you must, and otherwise build toward a fork: one move that makes two threats at once.
Is noughts and crosses the same as tic tac toe?
Yes. Noughts and crosses is the British name for tic tac toe, and XO is another. The rules are the same: three in a row on a 3x3 grid wins.