This is a simple Tic Tac Toe game built using HTML, CSS, and JavaScript.
It’s a basic 2-player game where players take turns marking X and O on a 3x3 grid.
- Player X starts first.
- Click any box to make a move.
- First player to get 3 in a row (across, down, or diagonal) wins.
- If all boxes are filled and no one wins, it's a draw.
- Click the "Restart" button to play again.
- 3x3 game board
- Turn indicator (shows whose turn it is)
- Displays winner or draw
- Restart button
- HTML
- CSS
- JavaScript