Tic-Tac-Toe




🎮Game Rules

1. Game Setup

  • The game is played on a 3x3 grid.
  • There are two players:
    • One plays as "X"
    • The other plays as "O"

2. How to Play

  • Players take turns placing their mark (X or O) in an empty square.
  • "X" goes first, then "O", then "X", and so on.
  • Once a square is filled, it cannot be changed.

3. Winning the Game

  • The first player to get three of their marks in a row wins.
  • The row can be:
    • Horizontal (e.g., across a row)
    • Vertical (e.g., down a column)
    • Diagonal (e.g., top-left to bottom-right)

4. Draw

  • If all 9 squares are filled and no player has three in a row, the game ends in a draw (also called a tie or cat’s game).