Play tic-tac-toe against the computer
Play tic-tac-toe against a computer opponent straight away — no waiting for another player, no account and no download. The computer’s moves are calculated in your browser, so a new game starts instantly, even when nobody else is online.
Tic-tac-toe against the computer is a quick way to test the traps from the tic-tac-toe strategy guide: a round takes seconds and the next one starts with a single tap. Who plays X switches from one round to the next.
Last updated:
Easy and Normal: how the computer plays tic-tac-toe
Easy plays like a careless beginner: about a third of its moves are deliberately not its best, and sometimes it even misses a chance to complete three in a row. Normal sees every game through to the end, always completes a line when it can, and makes a weaker move only occasionally, so most games against it are draws. If you beat Normal, it is because you set a trap and it slipped.
How to beat the computer at tic-tac-toe
- When you are X, start in a corner: any reply other than the centre lets you force a win, and Easy often picks another square.
- If it answers your corner with the centre, take the opposite corner. A corner reply from the computer gives you a fork.
- Never leave its two in a row open: Normal completes a line every time it can.
- When you are O, answer a corner with the centre and the centre with a corner. Normal punishes an edge reply.
- Against Normal, play the lines that give it the most chances to go wrong, and treat a draw as a good result.
What to practise here before playing people online
Play a few rounds as X and as O on Easy until the corner and centre plans feel automatic. Then switch to Normal and see how many rounds in a row you can go without losing. Online, use the same traps against people, who cannot see the whole game ahead the way Normal does.
Rules and strategy
The game page explains the rules step by step. The strategy guide goes further: plans, patterns and the mistakes that lose games.
Ready for a human opponent?
When you feel confident, play tic-tac-toe online: get matched with a random opponent or send an invite link to a friend. The tic-tac-toe page also has strategy tips and answers to common questions.