Tic-Tac-Toe
Get three of your marks in a row.👆
About Tic-Tac-Toe
Everyone knows tic-tac-toe, and everyone eventually discovers its dark secret: played perfectly, it always ends in a draw. That makes this version against the computer a nice little test of whether you actually play it perfectly. You are X, the machine is O, and you are hunting three in a row across, down, or diagonally — but the interesting layer is the two difficulties. Easy leaves openings you can pounce on; Hard uses flawless strategy and simply cannot be beaten, so the most you can wring out of it is a stalemate. The winning ideas are small but real: seize the centre when it is free because it feeds the most lines, grab a corner rather than an edge if you move second, and — the move that actually wins games — build a fork, two threats at once, so a single block can never cover both. And always, always block the machine the instant it shows two in a row. Free, instant, no sign-up, with your running tally of wins, losses, and draws kept between games.
How to play
- You play as X; the computer plays as O.
- Tap any empty square to place your mark, then the computer takes its turn.
- Get three of your marks in a row — across, down, or diagonally — to win.
- Choose Easy for a beatable opponent or Hard for a perfect AI you can only draw against.
Strategy & tips
- Take the centre when you can — it is part of the most winning lines.
- If you go second, grab a corner rather than an edge.
- Create a "fork" — two ways to win at once — so your opponent cannot block both.
- Always block the computer when it has two in a row, or it will win next turn.
- Against the Hard AI, perfect play leads to a draw; look for a slip only the Easy AI will make.
FAQ
Can I beat the Hard AI?
No — the Hard opponent uses a perfect strategy and never loses. The best you can force is a draw. Pick Easy for a winnable game.
Do I play against a person?
You play against the computer. It responds to each of your moves automatically.
What happens if the board fills up with no winner?
Neither player wins — the game ends in a draw, and you can start a new one immediately.