Board

Play Tic Tac Toe Online

The classic noughts and crosses duel — get three in a row to win.

Tic Tac Toe
You vs an unbeatable Minimax AI

About the Game

The classic 3×3 grid — but your opponent is an AI powered by the Minimax algorithm, meaning it plays perfectly every time. You are X, the AI is O. Get three of your marks in a row — horizontally, vertically, or diagonally — to win. Against a perfect AI the best outcome you can achieve without mistakes is a draw.

How to Win
  • Place three Xs in any row, column, or diagonal before the AI does.
  • Block the AI — if it has two in a row, place your X in the third cell.
  • Corner openings give you the best chance to force a draw.
  • The AI never makes a mistake — aim for a draw and be proud of it!
Controls
Click
Place your X on any empty cell
New Game
Reset the board at any time
Outcomes
X Wins
You beat the AI!
Draw
Perfect play — well done
O Wins
AI wins — try again
Strategy Tips
  • Start in a corner — it gives you the most winning lines.
  • If you go second, always take the center to limit the AI's options.
  • Watch for fork setups — two threats at once force the AI to choose only one block.
  • The AI always responds optimally, so focus on forcing draws rather than wins.

About Tic Tac Toe

Tic Tac Toe, also known as noughts and crosses, is the quick strategy game everyone grows up playing. Two players take turns marking a three-by-three grid, one using X and the other O, each trying to line up three of their marks in a row.

Behind its simplicity is a neat little battle of foresight and blocking. Play against the computer or a friend, and learn to spot the winning lines and the traps before your opponent does.

How to Play Tic Tac Toe

  1. Choose a square on the three-by-three grid to place your mark.
  2. Players alternate turns — X and O — one square at a time.
  3. Line up three of your marks horizontally, vertically or diagonally to win.
  4. Block your opponent when they have two in a row.
  5. If the board fills with no three-in-a-row, the game is a draw.

Controls

Mouse / Tap Place your mark in a square

Winning Tips & Strategy

  • Take the centre square whenever you can — it is part of the most winning lines.
  • Grabbing corners early gives you more ways to build a row.
  • Always block your opponent the moment they have two in a line.
  • Look for 'forks' — a move that threatens two winning lines at once.
  • Think one move ahead: assume your opponent plays their best reply.

Game Features

🤖

Play the computer

Sharpen your tactics against an AI opponent any time.

Instant rounds

Games last seconds — perfect for a quick mental break.

🧠

Simple strategy

Easy to learn, but rewarding to play well.

📱

Tap to play

Fully responsive on desktop and mobile.

Why You'll Like Tic Tac Toe

Tic Tac Toe is the ultimate quick game — a few seconds to learn and endlessly re-playable. It is a fun way to test your tactical thinking, settle a friendly rivalry or simply pass a moment, all with zero setup.

Similar Games

Frequently Asked Questions

Can Tic Tac Toe always be won?

No. With perfect play from both sides the game ends in a draw. Wins usually come from an opponent's mistake — which is why blocking matters so much.

Who goes first?

The player using X traditionally moves first, which is a slight advantage. The game will make the first move clear when you start.

Can I play against a friend?

You can take turns on the same device, or test yourself against the computer opponent.

Is it free?

Yes, completely free and instant — no download or account required.

Related Articles