Tic-Tac-Toe

Play against a friend on the same device, or test yourself against an AI that never loses.

0
X Wins
0
Draws
0
O Wins
Your turn — you're X

How to Play

Watch: three in a row wins the round.

Take turns placing your mark — X goes first. Get three of your marks in a row, column, or diagonal before your opponent does. If all nine squares fill up with no winner, it's a draw.

In vs AI mode, you're always X and the computer plays a perfect game — it can't be beaten, but you can force a draw with the right moves. In 2 Player mode, take turns on the same device; X and O swap starting the next round.

Tic-Tac-Toe Tips and Strategy

About Tic-Tac-Toe

Tic-tac-toe, also called noughts and crosses, is one of the oldest paper-and-pencil games. It is a solved game: with perfect play from both sides it always ends in a draw. That is why the computer opponent here cannot be beaten, and why the game is a popular first example when people learn about game trees and artificial intelligence. Playing against a friend on the same device is more interesting, because mistakes are possible and forks decide the round. X always goes first and the starting player swaps each round.

Frequently Asked Questions

Can I beat the computer?

No. The AI plays a perfect game, so the best you can do is a draw.

Who goes first?

X goes first. In 2 Player mode, X and O swap who starts each new round.

Can two people play on one device?

Yes. Choose 2 Player mode and take turns on the same screen.

More Games

We're building out a small collection of free browser games. See what's live and what's coming next →