How to never lose at Tic-Tac-Toe
- Before every move: win if you can, otherwise block.
- If they take a corner, take the center; if they take the center, take a corner.
- Against two opposite corners, play an edge, never a corner.
In Tic-Tac-Toe, two players who make no mistakes always draw. So never losing comes down to very little: a golden rule, the right answer to the three possible openings, and one trap to recognize. Everything below has been checked by the game's engine, which knows all 5,478 positions of the grid.
The golden rule: win if you can, otherwise block
Before every move, ask yourself two questions, always in this order:
- Do I have two marks in a line with the third square free? If so, play it: you win.
- Does my opponent have two, with the third square free? If so, take it: you block.
This rule avoids every "silly" defeat. It is not enough on its own, though: you can follow it every single move and still lose, because your opponent has created two threats at once. That is why you need to know the right answers at the start of the game.
When your opponent starts: the right answer
There are only three different openings: the center, a corner and an edge. All the others are the same position with the grid turned round.
| They open… | You answer… | Squares that lose |
|---|---|---|
| in a corner | in the center (the only square that does not lose) | the other seven |
| in the center | in a corner, any of them | the four edges |
| on an edge | in the center, in a corner next to their mark, or on the opposite edge | the other two edges and the two far corners |
In these figures, ✓ marks a reply that keeps the draw and ✗ a reply that loses if your opponent then plays well. The easiest thing to remember: if they take a corner, take the center; if they take the center, take a corner.
The opposite-corners trap
This is the most common trap in Tic-Tac-Toe. X opens in a corner, you answer correctly in the center, and X takes the opposite corner. You hold the center and everything looks calm. Yet only four squares are still safe:
If you take a corner, you do threaten the diagonal, but X has to block it… by taking the last corner, which gives them three corners. They then threaten two lines at once (the two ✓ squares in the second figure) and you can only block one. If you play an edge instead, you are the one threatening a line through the center: X has to block, and the game heads for a draw.
When you start: how to catch your opponent out
Against a perfect player, your nine possible first moves are equal: they all lead to a draw. Against a player who can go wrong, a corner is the best choice, because it leaves them only one good reply out of eight.
| You open in a corner, they answer… | You win by playing… |
|---|---|
| in the center | nothing is forced: take the opposite corner and wait for them to take a corner |
| on an edge next to your corner | the center, the other edge next to your corner, or the corner next to yours that does not touch their mark |
| in a corner next to yours | either of the two remaining corners |
| in the opposite corner | either of the two remaining corners |
| on a far edge | the center, or either of the two corners next to yours |
Opening in the center is also a good choice: if your opponent answers on an edge, almost every move wins.
Spotting a double threat
A double threat, or fork, means two lines waiting to be completed at the same time. It almost always comes about the same way: three marks that are not in a line but share two open lines, for example three corners, or the center and two squares around it forming an L. Before placing your second mark, check whether your third one could create a fork; before letting your opponent place theirs, check the same thing for them.
Practicing on this site
- Practice mode colors every free square: green if it wins, orange if it leads to a draw, red if it loses. It is the fastest way to learn the answers in this guide, and a handy tool in the classroom.
- Against the Medium level, which always wins or blocks but plans nothing ahead, practice setting up a double threat.
- Against the Unbeatable level, the goal is never to lose: every draw extends your streak on the leaderboard, as long as you let the computer start every other game. It knows the exact value of every position.
And once classic Tic-Tac-Toe holds no more secrets, infinite tic-tac-toe changes everything: each player only has three marks and the oldest one disappears, so no position is ever safe.
Frequently asked questions
This guide in other languages : 🇪🇸 Español · 🇮🇹 Italiano · 🇩🇪 Deutsch