Tic Tac Toe is played on a 3×3 grid. Players alternate placing their mark (✕ or ○). The first player to get three in a row — horizontally, vertically, or diagonally — wins. If all 9 cells are filled with no winner, it's a draw. In vs AI mode, you always play as ✕ and go first.
AI Difficulty Levels
Easy — AI plays randomly. Good for beginners and young players.
Medium — AI blocks your winning moves and takes obvious wins, but can be outplayed.
Hard — AI uses the Minimax algorithm and never loses. The best you can do is draw!
Winning Strategy
Always take the center square if it's free — it's involved in 4 winning lines.
After center, take a corner. Corner openings create forks that are hard to defend.
Always block immediately if your opponent has two in a row.
Look for fork opportunities — two winning lines at once — which forces the opponent to lose.
Can You Beat the Hard AI?
Against a perfect Minimax AI, the game should always end in a draw with optimal play from both sides. This is a mathematical property of Tic Tac Toe — it's a "solved" game. Try the Medium difficulty to find exploitable patterns, or play vs Human mode to challenge a friend.