Skip to main content
Gaming Onion

Tic tac toe

Get three in a row before your opponent. Play vs the computer or with a friend on one device.

Time0:00
Difficulty

How to play

Tap a square to place your mark. In vs Computer mode you play as X. In 2 players mode, X and O alternate on the same device.

Press keys 1–9 to play the matching square (top-left is 1).

How to play tic tac toe

Classic tic tac toe online

Tic tac toe is a fast two-player grid game. Line up three of your marks in a row, column, or diagonal to win. The whole board is only nine squares, which is why a game takes under a minute and why good play usually ends in a draw.

Our version runs entirely in your browser with no signup. Play against the computer, or switch to two-player mode and pass the device between turns—the board and turn indicator update instantly on both phone and desktop.

Difficulty levels

Related games

Try Connect Four for a four-in-a-row challenge with a larger board, or 2048 when you want a solo number puzzle instead of a head-to-head match.

Frequently asked questions

Is tic tac toe always a draw?
With perfect play from both sides, yes. The first player can force at least a draw, and so can the second—every win comes from an opponent stepping out of the correct line.
What is the best first move?
The centre square. It is part of four of the eight winning lines, more than any corner or edge. A corner opening is the higher-variance alternative that punishes weak replies faster.
How do I win on easy difficulty?
Open in a corner and build a fork—two winning threats at once. Easy opponents block visible threats but do not look ahead, so they will let the double threat appear.