This is a simple Tic-Tac-Toe web application with a dark theme. It allows two players to play the classic game of Tic-Tac-Toe in their web browsers. The game features a modern design with a dark color scheme and interactive elements.
- Responsive Design: Works well on both desktop and mobile devices.
- Hover Effects: Smooth transitions and color changes on hover.
- Restart Button: Easily restart the game with a single click.
-
Clone the Repository
git clone https://github.com/ahsankhizar5/PRODIGY_WD_03.git
-
Navigate to the Project Directory
cd PRODIGY_WD_03 -
Open the Application
Simply open
index.htmlin your web browser to start playing the game.
- Play the Game: Click on the cells to make your move. The game will automatically check for a winner or a draw.
- Restart the Game: Click the "Restart Game" button to reset the board and start a new game.
- HTML:
index.html– The structure of the game. - CSS:
styles.css– The styling for the game, including the dark theme and hover effects. - JavaScript:
script.js– (if applicable) The logic for handling game moves, checking for winners, and managing the game state.
Feel free to modify the colors and styles in styles.css to fit your preferences. You can also update the game logic in script.js to add more features or change the rules.
If you want to contribute to this project, please fork the repository and submit a pull request with your changes. Make sure to include a description of your changes and why they are necessary.
This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to modify this template to fit the specifics of your project. If you have any additional details or sections you’d like to include, let me know!