A simple, interactive Tic-Tac-Toe game built using HTML, CSS, JavaScript, and Tailwind CSS for a modern UI. Enjoy the classic game against a friend or just for practice!
This project is a web-based implementation of the classic Tic-Tac-Toe game, designed to be simple and accessible for players. It’s styled with Tailwind CSS to provide a clean, responsive layout.
- Two-player functionality
- Responsive design using Tailwind CSS
- Interactive UI with smooth game-play
To set up the project locally:
-
Clone the repository:
git clone https://github.com/ThakurMayank5/Tic-Tac-Toe-Web-Game.git
-
Navigate into the project directory:
cd Tic-Tac-Toe-Web-Game
-
Open index.html in your browser:
- Double-click on index.html or open it in a web browser to play locally.
To play, simply load the webpage, and you’ll see a 3x3 grid for the Tic-Tac-Toe board. Each player takes turns marking a square with "X" or "O" until a player wins by lining up three marks in a row, column, or diagonal, or the game ends in a tie.
This project is licensed under the MIT License. See the LICENSE file for details.