Tic-Tac-Toe is a classic two-player board game where the objective is to place three of your marks in a horizontal, vertical, or diagonal row.
Rules:
- The game is played on a grid that's 3 squares by 3 squares.
- One player is X, and the other is O. Players take turns putting their marks in empty squares.
- The first player to get 3 of their marks in a row (up, down, across, or diagonally) is the winner.
- When all 9 squares are full, the game is over. If no player has 3 in a row, the game ends in a tie.