This project is a classic Tic Tac Toe game designed for web browsers. It is implemented using HTML for the structure, CSS for styling, and JavaScript for interactivity. The game allows two players to take turns marking X or O on a 3x3 grid. The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins the game.
- Responsive design for various screen sizes.
- Dynamic updating of the game board without page reload.
- Clear display of the winner or a draw result.
- Easy-to-understand user interface.
- Open the
index.html
file in your web browser. - Two players take turns clicking on an empty cell to place their respective marks.
- The game will automatically determine the winner or declare a draw.
- Click the "Restart" button to play again.
- HTML5: Provides the structure of the game.
- CSS3: Adds styling for an attractive and responsive layout.
- JavaScript: Implements the game logic and interactivity.
Include a screenshot or link to a live demo if available.
No installation is required. Simply open the index.html
file in a web browser.
If you have any suggestions, improvements, or find any issues, please feel free to open an issue or submit a pull request.
Enjoy playing Tic Tac Toe!