sw-tool

Tic Tac Toe Online

Your turn (X)

You 0Draw 0CPU 0

Get three in a row to win. Play tic tac toe against the computer (normal or unbeatable hard mode) or with a friend on one device. Free, no sign-up.

Play the computer or a friend

Tic tac toe rules

Players take turns placing X and O on a 3x3 grid. Three in a row across, down or diagonally wins. A full board is a draw.

Game modes

Play the computer on normal or hard, or two players on one device. Normal sometimes slips up; hard plays perfectly and never loses.

How to win

Take the center or a corner first. Set up a fork, a move that threatens two lines at once, so your opponent can't block both. Against hard mode, a draw is the best result.

Two-player mode

Pass the phone back and forth. Scores add up across games for a best-of match.

A solved game

Tic tac toe has so few positions that it was fully analysed long ago: if both players play perfectly, every game is a draw. OXO, written in 1952 at the University of Cambridge, is often cited as one of the first video games, and it played tic tac toe. That's also why a hard computer opponent never loses.

FAQ

Can I beat hard mode?
No. It plays perfectly, so a draw is the best you can do.
Who goes first?
X goes first. Against the computer, you are X.
Can I share my result?
Yes, after a game against the computer.

Free Online Games →