Tic Tac Toe — How to Play, Tips & Strategy
Everyone thinks they've mastered tic tac toe — until they meet the hard AI. This version offers three difficulty levels, from a beatable beginner to a flawless minimax opponent that has literally never lost, plus a two-player hotseat mode for settling arguments on one screen.

What is Tic Tac Toe?
This is a free browser version of the classic 3×3 grid game: take turns placing X's and O's, and the first player to line up three in a row — horizontally, vertically or diagonally — wins. What makes this edition worth your time is the opposition. Easy plays loose and makes real mistakes, medium punishes carelessness but can be outmaneuvered, and hard runs a full minimax algorithm — it evaluates every possible future of the game before each move, making it mathematically unbeatable. There's also 2-player hotseat, where you and a friend share one screen and alternate turns.
- 1Mode selector — the active difficulty is highlighted
- 2Session tally — wins, losses, draws
- 3The board — gold strike marks the winning line
How to play
- Choose your opponent. Pick easy, medium or hard AI — or 2-player mode to face a human on the same device.
- Place your mark. Click or tap any empty square. X traditionally moves first.
- Build toward three in a row. Every move should either advance a line of yours or block a line of theirs — ideally both.
- Block instantly. If your opponent has two in a row with an open third square, that block is your forced move. No exceptions.
- Win, lose or draw, run it back. Games take under a minute — perfect for a best-of-whatever.
| Action | Desktop | Mobile |
|---|---|---|
| Place mark | 🖱️ Click empty square | 👆 Tap empty square |
| Choose difficulty / mode | 🖱️ Click the selector | 👆 Tap the selector |
| New game | 🖱️ Click rematch | 👆 Tap rematch |
Tips & strategy
- 🎯Take the center first. The center square touches four winning lines — more than any other square. If you move first, it's the strongest opening; if your opponent skips it, take it immediately.
- 📐Corners over edges, always. Corners sit on three lines each, edges on only two. A corner opening is the trickiest first move to answer — most casual opponents respond wrong.
- 🍴Win with forks. A fork creates two ways to win at once, and no single block stops both. The classic setup: own two corners with the center or an edge connecting them.
- 🛡️Defuse forks before they exist. If your opponent opens with a corner, answer with the center. If they take two opposite corners, do not take a corner yourself — take an edge, or you'll walk into the standard fork.
- 🤝Against hard mode, play for the draw. Minimax cannot be beaten — perfect play from both sides is always a draw. Treat every drawn game against it as a win, and use it to drill mistake-free play.
- 🪜Train up the ladder. Beat easy consistently, then medium, then hold draws on hard. When you can no longer lose on hard, you have mathematically completed tic tac toe.
- 🧠In hotseat, play the human. People telegraph plans and tunnel-vision on their own lines. Make a loud threat on one side while quietly assembling a fork on the other.
FAQ
Is it free to play?
Yes — free in your browser, no download or account needed.
Does it work on my phone?
Yes — tap to place your mark. The 3×3 grid is made for touchscreens, and hotseat mode works great passing one phone back and forth.
Do my stats save?
Your results and records are kept in your browser's local storage on this device. Clearing your browser's site data will erase them.
Can the hard AI actually be beaten?
No. Hard mode uses the minimax algorithm, which plays perfectly by checking every possible game continuation. The best possible result against it is a draw — and achieving that every game is the real challenge.
Can I play against a friend?
Yes — 2-player hotseat mode lets two people share one screen and alternate turns, no second device needed.