Tic Tac Toe – Play vs Computer or a Friend

The classic game of X and O. Beat the computer, or try to draw against the unbeatable level, or play with a friend.

FreeNo sign-upPrivate — runs in your browser
X0
Draws0
Computer (O)0

How to use the Tic Tac Toe

  1. Choose your opponentPlay the computer on easy, medium or impossible, or pick Friend to play two players on one device. Choose who goes first or take turns.
  2. PlayTap a square to place your mark. Get three in a row across, down or diagonally to win.
  3. Keep scoreThe score for X, O and draws is kept and saved in this browser. Press New game for another round.

Example

On Impossible, the computer plays perfectly using the minimax algorithm: the best you can do is a draw.

On Medium, it always takes a winning square and blocks yours, but sometimes plays randomly, so a fork (two threats at once) can beat it.

Frequently asked questions

Can you beat the impossible level?

No. Tic Tac Toe is a solved game: with perfect play by both sides it always ends in a draw, and the impossible computer never makes a mistake.

What is the best first move?

A corner. It gives your opponent the most ways to go wrong. The centre is also strong. If your opponent takes a corner first, take the centre.

Is my score saved?

Yes, in this browser only. Press Reset score to start again from zero.

Popular posts from this blog

Character Counter

Speech to Text Online

Keyboard Tester