Board Games guide
How to win at tic-tac-toe: openings, forks and never losing
To win at tic-tac-toe, start in a corner, then try to make a fork: a move that makes two lines of two at once, so the other player can only block one. To never lose, take the middle if your opponent opens in a corner, always block a line of two, and never let them fork you. With perfect play on both sides, every game is a draw.
The rules in one minute
Two players take turns to mark the squares of a 3 by 3 grid, one with X and one with O. X moves first. The first player with three marks in a line, across, down or corner to corner, wins. If all nine squares fill up with no line of three, the game is a draw. In Britain the game is called noughts and crosses; the rules are the same.
There are only 255,168 different ways a game can be played, so the game has been worked out completely: with perfect play it is always a draw. Winning means playing well and waiting for the other player to slip.
The best first move
There are three kinds of first move: a corner, the middle, or an edge (the middle of a side). None of them loses with best play, but they are not equal against a real person.
- A corner is the best practical start. O has only one safe answer, the middle; any other reply loses to a forced fork.
- The middle is safe and simple, but O's correct answer, a corner, is the one most people find by instinct.
- An edge gives O the most safe replies and is the weakest start.
Worked example
X takes the top left corner. O takes the top edge (a mistake). X takes the middle, threatening the diagonal; O must block at the bottom right. X takes the bottom left, making two lines of two at once (the left side and the other diagonal). O can block only one, and X wins.
Answering as O
As O you are a move behind, so your first job is not to lose.
- X took a corner: take the middle. Anything else loses.
- X took the middle: take a corner. An edge loses to careful play.
- X took an edge: the middle, the corners next to it, or the edge opposite all hold.
After that, block every line of two at once, and watch for the trap where X has two corners opposite each other and you hold the middle: answer with an edge, not a corner, or X forks you.
Forks: how games are won
A fork is a move that makes two lines of two at the same time, each with its third square empty. The other player can block only one, so the next move wins. Almost every won game of tic-tac-toe is won by a fork.
To set one up, aim for squares that sit on two lines you already share: the corners do this best, which is why corner openings win so often. To stop one, look ahead a move: if they could make two threats next turn, either take that square yourself or make a threat of your own that they must answer first.
How never to lose
- Win if you can. If you have two in a line with the third square empty, take it.
- Block if you must. If they have two in a line, block it now.
- Fork if you can, or stop their fork.
- Take the middle if it is free, then a corner opposite theirs, then any corner, then an edge.
Follow those steps in that order every move and you will never lose a game of 3 by 3 tic-tac-toe. That list is close to what the Medium house player does; the Hard player goes further and searches every game to the end.
4×4 and Ultimate tic-tac-toe
On a 4 by 4 board you need four in a line. It is also a draw with perfect play, but it takes far more care: a line of three with both ends open is already a threat. Ultimate tic-tac-toe puts nine small boards inside a big one. The square you mark in a small board sends your opponent to the small board in the same place on the big board; a small board is won with three in a line, and the game with three small boards in a line. If you are sent to a board that is already won or full, you may play in any open board. Ultimate is a real strategy game: nobody has worked it out. Both are Board Games Pro rule options.
Questions
What is the best first move in tic-tac-toe?
A corner. It gives the other player only one safe reply, the middle, so it wins most often against real people. The middle is also safe.
Is tic-tac-toe always a draw?
With perfect play by both players, yes. Every game is a draw unless someone makes a mistake.
What is a fork in tic-tac-toe?
A move that makes two lines of two at once. The other player can block only one, so you win on the next move.
Is it called noughts and crosses or tic-tac-toe?
Both. Noughts and crosses is the British name and tic-tac-toe the American one; the rules are the same.
Can the computer be beaten?
The Hard player never loses, because tic-tac-toe is solved. The Easy and Medium players can be beaten, and you can always draw against Hard.