A two-player Tic Tac Toe game with turn tracking and win/draw detection.
- 3x3 interactive game board
- Alternates turns between Player X and Player O
- Displays whose turn it is
- Detects wins and draws
- Restart button to reset the board
- HTML5
- CSS3
- JavaScript (Vanilla)
- Clone or download this folder.
- Open
index.htmlin your browser. - Click a cell to place your mark; players alternate turns automatically. Click Restart Game to play again.
TicTacToe_Game/
├── index.html
├── style.css
└── script.js