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
- Start in the centre or a corner. The centre touches four winning lines and a corner touches three, while an edge square touches only two.
- Look for forks. A fork is a move that creates two winning threats at once, so your opponent can only block one. Setting up a fork is the main way to win against a person.
- Always check for a block first. If your opponent has two in a row, take the third square before you think about your own plan.
- If you move second and the opponent takes the centre, take a corner. Taking an edge in reply gives them a path to a fork.
- Against the AI, aim for a draw. The computer plays perfectly, so the best result you can force is a draw by blocking every threat.
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 →