How to Play Tic Tac Toe Online
4 min read · Free to play on Boardly · 2 players or vs AI
What You Need
- ✅ 2 players — or play solo against AI
- ✅ A browser — desktop, tablet, or mobile
- ✅ No account required (guest play available)
- ✅ Free — no ads, no download
The Rules
- 1Choose your markOne player is X, the other is O. X always goes first.
- 2Take turnsPlayers alternate placing their mark in any empty cell on the 3×3 grid.
- 3Win with three in a rowGet three of your marks in a row — horizontally, vertically, or diagonally — and you win.
- 4DrawIf all 9 cells are filled and neither player has three in a row, the game is a draw. With perfect play from both sides, every game ends in a draw.
All 8 Winning Lines
There are exactly 8 ways to win. Three in any of these lines wins the game:
Strategy — How to Never Lose
- 💡 Start in the center (as X)
The center square is part of 4 winning lines — more than any other cell. Taking it first gives you the most winning options.
- 💡 Take a corner if center is taken
Corners are each part of 3 winning lines. If your opponent takes center, play a corner to set up diagonal threats.
- 💡 Block before attacking
If your opponent has two in a row, block the third cell immediately. Missing a block almost always loses the game.
- 💡 Set up two winning threats at once
If you can put yourself one move away from winning in two different places at the same time, your opponent can only stop one. You win the other.
- 💡 Stop your opponent from doing the same
If you notice your opponent building toward two threats at once, block them — either take the square they need, or create your own threat so they have to respond to you.
Playing on Boardly
vs AI: Play solo against a bot — great for practising strategy without waiting for an opponent.
vs Friend: Share a lobby link and play in real time. No account needed for either player.
Match mode: Play a series of rounds to determine the overall winner — best of 3 or best of 5.
Ready to put your strategy to the test?
Play Tic Tac Toe Now →