About Tic-tac-toe - history, rules and strategy
Tic-tac-toe is a quick game for two players on a three-by-three grid. In Britain it is usually called noughts and crosses.
Where it comes from
Three-in-a-row games were played in ancient Egypt and in the Roman Empire. The pencil-and-paper version became popular in the 19th century, and in 1952 OXO, a noughts and crosses program, was one of the first computer games.
The rules
Players take turns marking an empty square, one with X and the other with O. The first to get three marks in a row, across, down or diagonally, wins. If all nine squares are filled without a line, the game is a draw.
Strategy
Start in the centre or a corner. Always block a line of two, and look for a move that makes two lines of two at once, called a fork, because your opponent can only block one.
Frequently asked questions
Can you always win?
No. With perfect play from both sides, Tic-tac-toe always ends in a draw. You can only win when your opponent makes a mistake.
What is the best first move?
A corner gives your opponent the most chances to go wrong. The centre is the safest start.
Why does the computer never lose?
On the hardest level it looks ahead through every possible game, so it always finds a move that at least draws.
Ready to try it?
Open PictorX in your browser — no install, no credit card required to start.
Play Tic-tac-toe