
Tic-Tac-Toe
The classic three-in-a-row game — beat the computer
Difficulty
You play X and move first. Tap a square to place your mark. Line up three in a row — across, down, or diagonally — before the computer does. The computer plays O.
About Tic-Tac-Toe
Objective
Be the first to line up three of your marks in a row — across, down, or diagonally.
Who it’s for
Players of all ages, and often a child's very first strategy game.
What makes it interesting
The rules take seconds to learn, yet on the hardest setting the computer plays perfectly — so the real challenge becomes forcing a draw instead of a loss.
How to play
- 1You play X and move first. Tap any empty square to place your mark.
- 2The computer plays O immediately after your move.
- 3Line up three of your marks in a row — across, down, or diagonally — to win.
- 4If the board fills with no winner, the game is a draw.
Tips & strategy
- Take the centre on your first move — it touches the most possible winning lines.
- Always check whether the computer is one move from winning, and block it before attacking.
- A 'fork' — a move that creates two winning threats at once — is usually unstoppable.
- On Harder the computer plays perfectly, so the best you can do is force a draw.
Rules
- You play X and move first; the computer plays O.
- On your turn, place your mark in any empty square.
- Marks cannot be moved or removed once placed.
- Line up three of your marks horizontally, vertically, or diagonally to win.
- If all nine squares fill with no winner, the game is a draw.
Setup
- 1The board is a 3×3 grid of nine squares, all empty at the start.
- 2Choose a difficulty level, then place your first X to begin.
Quick start
- 1Tap any empty square to place an X.
- 2The computer places an O right after your move.
- 3Block the computer whenever it has two O's in a row.
- 4Get three X's in a line to win.
Turn order & scoring
- 1You play X and move first.
- 2The computer places an O immediately after your move.
- 3Play alternates until someone lines up three or the board fills.
Accessibility notes
- The grid is large and high-contrast, with bold X and O marks.
- There is no timer, so players of any age can think at their own pace.
- No reading is required — just recognise the two marks and the three-in-a-row pattern.
- Winning lines are highlighted when a game ends.
History & facts
- Three-in-a-row games are ancient; the Romans played a version called terni lapilli.
- The modern name 'tic-tac-toe' became common in the United States in the late 19th century.
- In much of the world the game is known as 'noughts and crosses'.
- With perfect play from both sides, tic-tac-toe always ends in a draw.
Frequently asked questions
How do you win tic-tac-toe?
Get three of your marks in a straight line — across, down, or diagonally — before the computer does.
Can you beat the computer on the hardest level?
On the hardest setting the computer plays perfectly, so the best you can do is force a draw. Easier levels leave openings you can win from.
What is the best first move in tic-tac-toe?
Taking the centre square is strongest, because it is part of the most possible winning lines.
Is tic-tac-toe always a draw?
With perfect play from both players, yes. Most games between people still produce a winner because someone makes a mistake.
Is tic-tac-toe good for kids?
Yes. It is often a child's first strategy game and teaches blocking, planning ahead, and good sportsmanship.
Guides & how-tos
Go deeper with practical guides on teaching board games, planning a family game night, beginner strategy, and making play accessible for older players.