Welcome to the Tic-Tac-Toe game repository! This project is a simple implementation of the classic Tic-Tac-Toe game using HTML, CSS, and JavaScript.
- Play against a friend on the same device.
- Responsive design for different screen sizes.
- Win detection for rows, columns, and diagonals.
- Reset the game and start a new round.
- Open
index.html
in your web browser. - The game board will be displayed, and the first player (X) will be indicated in the turn indicator.
- Click on an empty cell to place your symbol (X or O).
- The turn indicator will switch to the next player after each move.
- The game ends when one player forms a line of three symbols (horizontally, vertically, or diagonally) or when all cells are filled.
- Use the "Reset" button to start a new game round.
- HTML
- Tailwind (Styling)
- JavaScript (Game logic)
- Implement AI for single-player mode.
- Enhance the user interface with animations and effects.
- Store and display game statistics.
Contributions are welcome! If you find any bugs or have suggestions for improvements, feel free to open an issue or submit a pull request.
Enjoy the game and have fun playing Tic-Tac-Toe!
Author: Wambui Ndung'u