Airscape Works

Games / Guides / Strategy articles / Tic tac toe strategy

Strategy · Tic tac toe

Tic tac toe strategy: never lose, and win more often

The best first move in tic tac toe is a corner, and the way to never lose is to win when you can, block when you must, and watch for forks. Tic tac toe is a draw with perfect play from both sides. So the real game is about two things: never giving your opponent a win, and setting traps that a less careful player walks into. We checked every claim here against a full search of the game.

Tickseed gameplay

Some numbers first

Counting every possible game, move by move until someone wins or the board fills, there are 255,168 games of tic tac toe. X wins 131,184 of them, O wins 77,904, and 46,080 are draws. Those are games played with any moves at all, not good ones. With perfect play from both sides, every game is a draw.

We'll name squares like this: corners, edges (the middle of each side) and the center.

LeftMiddleRight
Topcorneredgecorner
Middleedgecenteredge
Bottomcorneredgecorner

The two rules that come first

  1. If you can win, win. Check for two of your marks in a line with the third square empty.
  2. If they can win, block. Two of theirs in a line with the third square empty must be taken now.

Every other idea comes after these. It sounds obvious, but the beginner house players in Tickseed lose mostly by skipping one of them, which is exactly how real people lose too.

Forks: how games are actually won

A fork is a move that makes two threats at once. Your opponent can only block one, so you win next move. Nearly every decisive game of tic tac toe is won by a fork. Here's a common one.

LeftMiddleRight
TopX (1)O
MiddleX (2)
BottomX (3)O

X opens in the top left corner. O answers on the top edge, which is already a losing move. X takes the center, threatening the diagonal, so O must block the bottom right. Now X plays the bottom left corner. That threatens the left column (top left, bottom left, missing the middle left) and the other diagonal (bottom left, center, missing the top right). O can only block one.

Playing X: open in a corner

Any first move draws with perfect play, but they don't all give your opponent the same chances to go wrong. Against a corner opening, O has exactly one safe reply: the center. Every other square loses to a forced fork. Against a center opening, O must take a corner, and either edge reply loses. Against an edge opening, O has four safe replies.

X opensO's safe repliesO's losing replies
CornerCenter onlyAll 7 others
CenterAny cornerAny edge
EdgeCenter, the two corners beside X, the opposite edgeThe two edges beside X, the two far corners

That's why we recommend the corner. It asks the most of your opponent on their very first move.

Playing O: the replies that hold

  • X opens in a corner: take the center. Nothing else draws.
  • X opens in the center: take a corner. An edge loses.
  • X opens on an edge: the center is the simplest safe answer.

There's one more trap for O. Say X has a corner, you have the center, and X takes the opposite corner. Now you must play an edge, not a corner. A corner here lets X fork you with the remaining corner. It feels backwards, which is why it catches so many people.

LeftMiddleRight
TopXplay an edge
MiddleO
BottomX

The opposite corner trap for X

If you open in a corner and O replies in the opposite corner, you can win. Take another corner, say the top right. O must block the top edge between your two corners. Now take the bottom left corner. You threaten the left column and the center diagonal at once, and O can't stop both.

How to never lose

Put it together and you get a short checklist that holds a draw against anyone, including Sage, our perfect house player.

  1. Win if you can.
  2. Block if you must.
  3. If your opponent could fork next move, take the fork square yourself, or make a two-in-a-row that forces them to block somewhere harmless.
  4. As O, answer a corner with the center and the center with a corner.
  5. As O, with X on opposite corners and you in the center, play an edge.

Holding Sage to a draw earns the Wise draw award in Tickseed, and it's the best result anyone can get.

Practising in Tickseed

The house players make a good ladder. Sprig takes a win about half the time and often misses a block. Moss sees most threats but not all. Wren always takes a win and almost always blocks, but can walk into a fork, so Wren is the one to practise your corner traps on. Juniper slips only now and then, and Sage never loses at 3 by 3. After a game, Review shows every move graded, and the Puzzles path has a chapter called First forks that drills exactly the patterns above.

Mistakes that lose

  • Missing a block while setting up your own line.
  • As O, answering a corner opening with anything but the center.
  • As O, answering X's opposite corners with a corner.
  • Making a two-in-a-row that forces your opponent onto the square they wanted anyway.

For modes, bigger boards and play by link, read our Tickseed guide. When you're ready for something deeper, try our ultimate tic tac toe strategy, or the gravity version of the idea in our four in a row strategy.

Questions

Is there a way to always win at tic tac toe?

No. With perfect play from both sides every game is a draw. You can win against anyone who misses a block or lets you make a fork.

What is the best first move in tic tac toe?

A corner. Every first move draws with perfect play, but against a corner, the only safe reply is the center, so your opponent has the most chances to go wrong.

What is a fork in tic tac toe?

A move that creates two threats at once. Your opponent can only block one, so you win on the next move.

How many possible games of tic tac toe are there?

Counting every sequence of moves until a win or a full board, 255,168.

Try it nowTickseed is free and runs right in your browser.
Play now

Game guides

More strategy articles

You might also like

Damson Drop gameplay: four in a row game you can play free in your browser10 minSaves

Damson Drop

Four in a Row

Drop a disc, line up four. Five house players up to a perfect expert, hints, undo and a game review, Drop or Pop and bigger boards, pass and play, online with a friend and a Daily Harvest.

Rosehip Reversi gameplay: reversi game you can play free in your browser10 minSaves

Rosehip Reversi

Reversi

Trap a line of discs and flip it your way. Five house players up to a strong expert, hints, undo and a game review, pass and play, online with a friend and a Daily Opening.

Primrose Paddocks gameplay: dots and boxes game you can play free in your browser10 minSaves

Primrose Paddocks

Dots and Boxes

Draw a line, close a box, go again. Dots and boxes on notebook paper with a critter in every paddock: boards 3x3 to 8x8, five house players up to a chain expert, hints, undo and a game review, pass and play for 2 to 4, online with a friend and a Daily Paddocks.