Start the game:
When you open the page, you’ll see a 3×3 grid with green numbers (1–9).
Player X always goes first.
Make your move:
Click on any green number to place your symbol (X or O).
X will appear in red.
O will appear in blue.
Empty spots stay green.
Take turns:
After Player X makes a move, it automatically switches to Player O, and vice versa.
Winning the game:
The first player to get three in a row (horizontally, vertically, or diagonally) wins!
A small glow highlights the winning line.
Draw:
If all nine spots are filled with no winner, the game ends in a draw.
Restart anytime:
Click the “Reset” button to start a new round.