Tic Tac Toe

Play Tic Tac Toe against a rule-based AI. First to get three in a row wins — simple, fast, and free.

How to Play Tic Tac Toe

  1. X always goes first. Click any empty square to place your mark.
  2. The first player to get three marks in a row — horizontally, vertically, or diagonally — wins.
  3. If all nine squares are filled with no winner the game is a draw.
  4. Click Reset to play again immediately.

Frequently Asked Questions

Can two humans play on the same device?
Yes — set both players to Human and take turns clicking squares.
How smart is the CPU?
The CPU uses a rule-based engine that always takes a winning move when available and always blocks an opponent's winning threat.
Is there a first-mover advantage?
With optimal play from both sides the game always ends in a draw. The CPU is designed to play optimally, so expect draws when both sides use AI.
What strategies can the CPU use?
The CPU can play randomly (choosing any legal move) or use the rule-based strategy that blocks and wins.

Related Games

CheckersChessChinese Checkers