Who’s exploring?

PLAY · ARTICLE

Tic-Tac-Toe, Solved: How to Never Lose

This childhood game is fully solved - learn the few rules that guarantee at least a draw, and why the first move matters most.

Colourful wooden abacus beads

A game with a known ending

Tic-tac-toe (or noughts and crosses) is one of the few games humans have completely solved: if both players play perfectly, the game is always a draw. The first player has exactly three meaningfully different opening moves - centre, corner or edge - and they are not equal. Centre and corner are strong; an edge opening is the weakest and gives the second player the best chance to force at least a draw and punish mistakes.

The second player's replies follow one rule each. If the first player takes the centre, answer with a corner - answering with an edge loses against perfect play. If the first player takes a corner, take the centre. Those two responses, memorised, already make you very hard to beat.

Beware the fork

Since perfect defence draws, real games are lost through one weapon: the fork, a move that creates two separate threats of completing a line at once. You can block only one. Forks are the whole attacking game, so the defensive skill is smelling them a move early.

The classic trap: your opponent holds two opposite corners and you hold the centre. It feels natural to grab another corner - and that loses, because the opponent takes the last corner and forks you. The correct defence is to play an edge, which quietly removes the fork. Knowing that single position rescues more games than any other fact about tic-tac-toe.

Try it yourself

Play ten games as the second player using only the reply rules above, and see how rarely you lose. Then swap roles and try to construct a fork deliberately: aim for two corners and watch how the threat builds.

For a sense of scale, consider that tic-tac-toe has 255,168 possible complete games when you count every sequence of moves - yet the perfect strategy fits in this article. That contrast is why solved games are so satisfying: enormous possibility, tiny secret.

Keep reading? Spark picked your next article.

Count to 1,023 on Your Fingers (Really)More about Maths and logic

More in Maths and logic

— forget which articles you’ve read on this device.

Sources, credits & transparency

Development reference photograph · Unsplash. Reference use; provenance and final image approval pending; see public/images/manifest.json.

Created with AI assistance as part of a bulk seed pack approved by the SparkKindly site owner on 15 November 2026. No independent specialist review is claimed.

Report a mistake on this page