Search

Home / Brain Games / Tic Tac Toe

Tic Tac Toe

Tic tac toe needs nothing but a pencil and two players: take turns marking X and O in a 3 by 3 grid, and the first to get three in a row wins. Play it here with a friend on the same screen, or against the computer from Easy to Unbeatable. Below the game you will find printable boards, and the strategy that wins against beginners and never loses to anyone.

Free2 playersPlay the computerPrintable boardsLarge print

Tic Tac Toe

You 0Computer 0Draws 0

You are X and go first. Tap a square.

Play against

Level


Download boards

Against the computer you are X in one game and O in the next, so you take turns going first. The score counts the games since you opened the page.

Printable tic tac toe boards

How to play tic tac toe

  1. Draw two lines across and two lines down to make a grid of nine squares, or print one of our boards.
  2. One player is X and the other is O. X goes first, and then you take turns, each marking one empty square.
  3. The first player with three marks in a row, across, down or corner to corner, wins.
  4. If all nine squares are filled and nobody has three in a row, the game is a draw, sometimes called a cat’s game.

How to win at tic tac toe

X starts in a corner. O has only one safe answer, the center (green). Every red square loses against good play.

1. Start in a corner. A corner leaves your opponent exactly one safe answer: the center. Any other answer, even the opposite corner, lets you win with the right moves, so the corner start sets the best trap.

2. The center is a safe start too. After X takes the center, O must answer in a corner; an edge answer loses. An edge is the weakest start: it still cannot lose, but it leaves O four safe answers.

X has two opposite corners and O the center. O must now take an edge (green); a free corner (red) lets X make a fork and win.

3. Make a fork. A fork is a move that makes two lines of two at once. Your opponent can block only one of them, so the other one wins. Against a player who always blocks, a fork is the only way to win.

4. Stop the fork before it happens. The classic trap: X takes a corner, O takes the center, X takes the opposite corner. Now O must play on an edge. If O takes one of the free corners, X blocks and makes a fork at the same time.

5. When you go second, answer a corner with the center and the center with a corner. Against an edge start, the center, the two corners beside the edge and the edge across from it all hold the draw.

6. With perfect play, tic tac toe is a draw. If neither player makes a mistake, nobody wins. That is why the Unbeatable computer below never loses, and why you can not beat it either; a draw against it is a perfect game.

Tic tac toe by the numbers

Our program played out every possible game, stopping when someone gets three in a row or the board is full. There are 255,168 different games. X wins 131,184 of them, O wins 77,904, and 46,080 end in a draw. The quickest win takes five moves (three for X, two for O), and 1,440 games end that fast. Going first helps, but only against a player who makes a mistake.

Playing against the computer

LevelHow the computer plays
EasyPicks squares at random and spots its own win only half the time. Good for young children.
MediumAlways wins when it can and blocks your three in a row, and likes the center, but does not see forks coming. Beat it with a fork.
UnbeatablePlays perfectly: it has worked out every position. The best you can do is a draw.

Tic tac toe for seniors and children

Tic tac toe is one of the first games many children learn, and one that grandparents remember from their own school days, so it is an easy game to share across the generations. The large print boards have thick lines and squares almost an inch and a half wide. For a short series, the regular boards have a score line at the top of each page. The game is also known as noughts and crosses, and as Xs and Os.

Questions

Can you always win at tic tac toe?

No. If both players play perfectly, every game is a draw. You can win only when your opponent makes a mistake, which is why traps like the corner start and the fork matter.

What is the best first move?

A corner. It leaves the other player only one safe answer, the center. The center is also a safe start; an edge is the weakest.

Is it better to go first?

Yes, against anyone who might slip: the first player has the first chance to set a trap. With perfect play from both sides, though, the game is still a draw.

Is noughts and crosses the same game?

Yes. Noughts and crosses is the British name for tic tac toe; noughts are the Os and crosses are the Xs.

Can I print the boards for my class or group?

Yes. The boards are free for personal, classroom and group use, such as clubs, libraries and senior centers.

More games and puzzles