Home / Classic Paper & Pen / Tic-Tac-Toe

Tic-Tac-Toe

Tic-Tac-Toe, also called Noughts and Crosses or Xs and Os, is a two-player game on a 3×3 grid where you win by getting three marks in a row. Three-in-a-row grids have been found on Egyptian roofing tiles from around 1300 BCE. With only 255,168 possible games and 26,830 possible positions, it was one of the first games to be completely solved.

Classic Paper & Pen Easy 2 Players

Tic-Tac-Toe rules

The game is played on a 3×3 grid. Two players take turns, one placing X and the other placing O, in any empty cell.

The first player to get three of their marks in a horizontal, vertical or diagonal line wins. If all nine cells are filled and nobody has three in a row, the game is a draw.

Tic-Tac-Toe strategy and tips

Take the center if you go first

The center square is the strongest opening move. It's part of 4 possible winning lines. Those are both diagonals, the middle row and the middle column. Any other opening gives you fewer winning paths.

If they take the center, take a corner

When you go second against a center opening, a corner is your best reply. Taking an edge square (not a corner, not the center) against a center opening gives your opponent a route to a fork, a position where they threaten to win in two places at once.

Create a fork to guarantee a win

A fork is a position where you threaten two winning lines at the same time. Your opponent can only block one, so you win. After taking the center, look for moves that set up two threats at once. That's how you beat imperfect play.

Frequently asked questions

Can you always win at Tic-Tac-Toe?

No. With perfect play from both sides, every game of Tic-Tac-Toe ends in a draw. If your opponent makes a mistake, though, you can punish it. The first player (X) has a slight edge from moving first, but it isn't enough to force a win against perfect defense.

What is the best first move in Tic-Tac-Toe?

The center square. It sits on the most winning lines and gives you the best chance to set up a fork. Corners are the second-best opening move. Edge squares (top-middle, left-middle and so on) are the weakest openings.

Is Tic-Tac-Toe a solved game?

Yes. It's been solved since at least the 1950s. Perfect play by both sides always ends in a draw. It's one of the simplest solved games, and it's often used to teach game theory and AI programming.