How to play tic tac toe
- Players take turns placing ✕ and ◯ on a 3 × 3 grid. In computer mode you are always ✕.
- The first to get three in a row horizontally, vertically or diagonally wins.
- If all nine squares fill up without a line, the game is a draw.
- The first move alternates each game so both sides get to start.
On a keyboard, keys 1–9 work like a number pad: 7 is the top-left square, 3 the bottom-right.
Tips to win (or never lose)
- Start in a corner. It gives your opponent the most chances to go wrong.
- Take the centre if your opponent opened in a corner – anything else loses against perfect play.
- Create a fork: a move that makes two threats at once, so only one can be blocked.
- Always block two-in-a-row before building your own line.
The three difficulty levels
- Easy plays mostly random moves – good for kids and warming up.
- Medium wins when it can and blocks your lines, but can be beaten with a fork.
- Hard uses the minimax algorithm and plays perfectly. You can draw, but you cannot win.
Frequently asked questions
Can you beat the hard computer?
No. Tic tac toe is a solved game: with perfect play from both sides it always ends in a draw, and the hard level never makes a mistake.
Who goes first?
The first move alternates every game, so ✕ starts one game and ◯ the next.
Can I play with a friend?
Yes. Choose 2 Players and take turns on the same phone or computer.
Is my score saved?
Yes, the score and your chosen mode are kept in this browser until you reset them.