Tic-Tac-Toe game built using HTML, CSS, and JavaScript. Play against a friend and see who can achieve three in a row first!
- Interactive and responsive design
- Score counter to keep track of wins for X and 0
- Vibrant and engaging user interface
- Restart button to begin a new game
- Open the [Tic-Tac-Toe] game in your web browser.
- The game starts with X's turn.
- Hover over a cell to see the current player's symbol.
- Click on an empty cell to make a move.
- The game alternates between X and 0.
- The first player to get three in a row (horizontally, vertically, or diagonally) wins.
- Click the "Restart" button to start a new game.
-
git clone https://github.com/rohityadav-sas/Tic-Tac-Toe
-
cd tic-tac-toe
- Open index.html in your browser
Alternatively, you can download the ZIP file of the repository and extract it.
If you'd like to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch
git checkout -b feature/new-feature
- Make changes and commit them
git commit -am 'Add new feature'
- Push to the branch
git push origin feature/new-feature
- Create a pull request
This project is licensed under the MIT License.