Tic-Tac-Toe

Line up three before the computer does. Quick rounds, instant rematch.

Difficulty
Difficulty: Easy
Play time
30 sec
Mode
Normal
Record
0 W · 0 L · 0 D

Choose a mode and press Start.

LOADING…

You Computer

Tap an empty square. The first move swaps every round.

How to play

  1. Choose Easy, Normal, Hard, or 2 Players, then press Start. You are X and the computer is O.
  2. Tap an empty square to put your mark there. The two sides take turns, one mark at a time.
  3. Get three of your marks in a row, across, down, or diagonally, to win. If all nine squares fill up first, the round is a draw.
  4. Press Play again for an instant rematch. The first move swaps every round, so both sides get to start.

About this game

Tic-tac-toe is one of the oldest and simplest pencil games: two players, a grid of nine squares, and a race to line up three marks. Because the board is so small, every round takes only a few seconds, which makes it a good warm-up and an easy game to share with children. Here you can play against the computer on three levels or pass the device back and forth with a friend.

With perfect play from both sides, tic-tac-toe always ends in a draw. That is exactly how Hard plays: it checks every possible continuation and never loses, so a draw against it is a good result. Normal always takes a win and always blocks an open line, but now and then it picks a weaker square, which leaves room for a trap. Easy often plays at random and can miss both its own wins and your threats.

The strongest idea in the game is the fork: one move that makes two lines of two at the same time, so the other side can block only one of them. Corners belong to three lines and the centre to four, which makes them the best squares to start on. If the other player opens in a corner, answer in the centre; every other reply can be forced into a loss.

Your wins, losses, and draws are kept separately for each level, and two-player mode counts the wins for X and for O. Everything is saved in this browser only.

What this does not measure

This is a game for fun. It is not an IQ test or a measure of logic or planning skills, and a loss to the computer says nothing about how your mind works.

Read the guide: Tic-Tac-Toe Strategy: How to Never Lose

Your best score is saved in this browser only.

More games to try