Tic Tac Toe

Tic Tac Toe is a 3 by 3 grid. You are X and the other side is O. Take turns putting your mark in an empty square. Three of your marks in a line, across, up and down or on a slant, wins the game.

Before you start, choose how a round ends: the first side to win 3 games takes it, or keep score and tap Finish when you are done. Draws do not count. The side that goes first swaps every game.

Free in your browser. No sign-up.

Three Tic Tac Toe grids showing a line across, a line up and down and a line on a slant

How to play Tic Tac Toe

  1. Tap an empty square to place your X. The other side plays O.
  2. Make a line of three in a row, across, up and down, or on a slant.
  3. Choose before you start: the first side to win 3 games takes the round (draws do not count), or keep score and tap Finish when you are done.
  4. You and the other side take turns to go first.

Two ways to win at once

There are only 8 lines on the board: 3 across, 3 up and down and 2 slants, shown in the first picture. The middle square is part of 4 of them, each corner is part of 3 and each side square is part of 2. That is why the middle is the strongest first move.

In the second picture X takes the middle and O takes the top. X takes the top left corner and O blocks the bottom right. Then X takes the bottom left. Now X has two lines that each need one more mark: the left side and the slant up to the top right. O can only block one. O takes the left side, and X wins on the slant. The small numbers show the order of the moves.

We counted every game the rules allow, move by move: 255,168 of them. X wins 131,184, O wins 77,904 and 46,080 are draws.

The Hard computer never loses. We played it against every reply a player could make, going first and going second, 2,648 games in all, and it did not lose one. The best you can do against it is a draw.

A finished Tic Tac Toe game with the moves numbered 1 to 7 and X winning on the slant from the bottom left to the top right

Questions

What changes from Easy to Hard?
Easy takes a win when it sees one and blocks yours, and otherwise plays anywhere. Medium likes the middle and the corners but misses a block about one time in three. Hard never loses and picks the openings that set the most traps.
Can I take back a move?
Yes. Undo takes back your mark and the computer's reply.
Can I play against a friend?
Yes. Choose to play a friend and share one screen. One of you is X and the other is O, and the score of the round shows the whole time.
Do I need an account or Wi-Fi?
No. There is nothing to sign up for and it is free in your browser. A game you leave halfway is saved in this browser on this device, so you can pick it up later. The computer player runs on your device, so once a game is open it keeps going if your signal drops.

Read more

Board games in Game Attic

See every game in Game Attic