Tic-Tac-Toe

The classic paper-and-pencil game. Take turns placing X and O — get three in a row to win!

How to Play

  1. The game is played on a 3×3 grid.
  2. You play as X and go first. Click any empty cell to place your mark.
  3. The computer plays as O and responds automatically after your move.
  4. Take turns placing marks until one player gets three in a row — horizontally, vertically, or diagonally.
  5. If all 9 cells are filled with no three-in-a-row, the game is a draw.

Pro Tips

  • Start in the center or a corner for the best chance to win.
  • Watch for forks — situations where the opponent can create two winning lines at once.
  • Block your opponent's two-in-a-row before building your own.

Game Board

Your turn (X)