This is a simple Tic-Tac-Toe game implemented using HTML, CSS, and JavaScript.
- Play against a friend or AI (not implemented yet)
- Keep track of the current player's turn
- Detect win conditions and declare a winner
- Reset the game for a new round
- Clone this repository or download the files.
- Open the
index.html
file in your web browser. - Click on the squares to place your X or O.
- The game will keep track of the current player's turn.
- If a player gets three in a row, the game will declare a winner.
- HTML: Defines the structure of the game board.
- CSS: Styles the game board and elements.
- JavaScript: Handles game logic, player turns, and win conditions (to be implemented).
Open index.html
in your web browser to play the game.
Feel free to fork this repository and contribute your improvements! You can add features like AI opponents, difficulty levels, or visual effects.