Tic Tac Toe

The classic noughts-and-crosses game, with three computer levels, a two-player mode and a twist: Vanishing mode, where your oldest mark disappears.

Fun & Games Runs in your browser Free, no sign-up Unbeatable AI level
X wins0 Draws0 O wins0
Your turn (X)

X always starts. The first player alternates each game.

How to play tic tac toe

  1. Pick an opponentPlay the computer on Easy, Medium or Unbeatable, or choose 2 players to share one screen with a friend.
  2. Take turnsX goes first. Tap a square to place your mark. Against the computer, who starts alternates every game.
  3. Get three in a rowLine up three marks across, down or diagonally to win. A full board with no line is a draw.

Vanishing mode: a fresh twist

Classic tic tac toe between two careful players always ends in a draw. Vanishing mode fixes that. Each player may have only three marks on the board. When you place a fourth, your oldest mark disappears; it's shown faded so you can see which one is about to go. There are no draws, the board keeps changing, and you have to think about which mark you'll lose next. It's quick to learn and surprisingly tactical.

How to never lose at classic tic tac toe

  • Take the centre if you go first; it is part of four winning lines.
  • If your opponent takes the centre, take a corner.
  • Always block when your opponent has two in a row.
  • Create a fork: a move that makes two threats at once, so only one can be blocked.
  • Avoid edge squares early when playing second; they make forks easier for your opponent.

The computer levels

Easy
Mostly random moves. Good for children and quick wins.
Medium
Plays the best move about 60% of the time, so mistakes are possible.
Unbeatable
Uses the minimax algorithm to look at every possible game. In classic mode the best you can get is a draw.

Like strategy games? Try Rock Paper Scissors against a computer that learns.

Frequently asked questions

Can the Unbeatable computer be beaten?

Not in classic mode: perfect play always ends in at least a draw. In Vanishing mode it looks a few moves ahead, so clever play can win.

Can two people play on one device?

Yes. Choose 2 players and take turns tapping the board.

What is Vanishing mode?

Each player keeps only their three newest marks. Placing a fourth removes your oldest one, so there are no draws.

Who goes first?

X always moves first. Against the computer, you and the computer take turns being X.

More fun & games tools