Tic-tac-toe

X and O. Three in a row wins.

The game everyone knows, also called noughts and crosses or X and O, on a glowing neon board. Play the computer on three levels, play a friend on the same screen, try the five by five big board where you need four in a row, or work through 60 puzzles. It has music of its own, and it remembers your record against each level.

Free. No download, no sign-up. Works in the browser on phones, tablets and computers.

X wins Tic-Tac-Toe down the middle column: three pink X struck through in gold

How to Play

The board is three squares by three. Two players take turns putting their mark in an empty square: one plays X, the other O. The first to get three of their marks in a row - across, down or corner to corner - wins the round. If the board fills up and nobody has a row, the round is a draw.

Against the computer you always play X. Who moves first swaps every round, so you start one round and the computer starts the next. Your score for the sitting is at the top: your wins, the draws, and the computer's wins.

ActionPhone or tabletKeyboard
Put your markTap a square1 to 9 (the top row is 1 2 3), or the arrows and Enter
New roundThe New round buttonN
Back to the menuThe Menu buttonEsc

Ways to Play

In Settings you can also turn the music on or off and change the marks: classic X and O, hearts and stars, cats and dogs, or strawberries and lemons.

How to Never Lose

Tic-tac-toe is a solved game: if both players make no mistakes, every game ends in a draw. That is why the Hard computer never loses. You can play the same way:

  1. Win first, block second. On every move, look for a square that gives you three in a row. If there is none, look for a square where your opponent would make three, and take it.
  2. Going first, start in a corner or the centre. A corner sets the most traps: unless your opponent answers in the centre, you can force a win.
  3. Going second, answer a corner with the centre, and answer the centre with a corner. Answering the centre with an edge square loses against good play.
  4. Make forks. A fork is a move that creates two rows that each need one more mark. Your opponent can block only one, so you win with the other.
  5. Stop forks. If you hold the centre and your opponent holds two opposite corners, play an edge square, not a corner. The edge forces them to block you and the fork never comes.

Big Board Tips

On the five by five board you need four in a row, across, down or diagonally. There are 28 possible rows of four, and most of them run through the middle squares.

The computer on Easy blocks most of the time and plays near its own marks. Medium blocks every loss and looks two moves ahead. Hard looks four or five moves ahead and spoils most double threats, but it can be beaten.

Puzzles

Each puzzle is a game already under way, with X to move. Puzzles 1 to 20 are wins in one move, 21 to 45 wins in two, and 46 to 60 wins in three, and the computer defends as well as it can. Solve a puzzle on the first try for three stars, on the second for two, and after that for one. Each one you solve opens the next.

Questions

Screenshots

Play Tic-Tac-Toe free