Tic Tac Toe
Play Tic Tac Toe against AI or a friend
Game Statistics
How to Play & Tips
Goal: Get three of your marks (X or O) in a row - horizontally, vertically, or diagonally.
AI Difficulty: Easy makes random moves, Medium plays strategically 70% of the time, Hard plays perfectly and is nearly unbeatable!
Pro Tip: On Hard mode, the center square and corners are key strategic positions. If you go first, take the center!
Winning Line: When someone wins, the winning cells will light up in yellow with a special glow effect!
You Win! AI Wins!
Congratulations! You beat the AI! Better luck next time! Great game!
It's a Draw!
Well played by both sides!
Was this result helpful?
Thank you for your feedback!
Your input helps us improve our tools.
Add more details about your experience
Help us fix issues with this tool
- 1 Select Mode: Choose between playing against the computer (AI) or against a friend (2-player).
- 2 Start Game: The first player clicks an empty square to place their mark (X or O).
- 3 Win Condition: Be the first to place three of your marks consecutively (horizontal, vertical, or diagonal) to win the classic Tic-Tac-Toe game. Play Tic-Tac-Toe now!
Does this have a two-player mode?
Yes, you can switch to a local 2-player mode to challenge a friend on the same device.
Is the computer beatable?
The AI is usually programmed to play perfectly, resulting in a tie ("Cat's Game") if the human player also plays perfectly.
What is the goal of the game?
To get three marks (X or O) in a row before your opponent does.
Quick Break
Use the classic game for a fun, simple mental break during a long workday.
Teaching
Use the game to teach children about basic strategy, spatial awareness, and game theory.
Entertainment
Challenge a friend or family member instantly without needing paper and pencil.
Related Tools
Discover more tools that work perfectly with Tic Tac Toe