This is a simple Tic Tac Toe game implemented using HTML, CSS, and JavaScript. It allows two players to take turns and plays a classic game of Tic Tac Toe on a 3x3 grid.
- Responsive design that works on desktop and mobile devices.
- Player turn indication.
- Winning combinations detection.
- Tie game detection.
- HTML
- CSS
- JavaScript
To run the Tic Tac Toe game locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/tic-tac-toe.git - Navigate to the project directory:
cd tic-tac-toe - Open the
index.htmlfile in your web browser.
- Click on an empty cell to place your mark (X or O).
- The game will indicate the current player's turn.
- The game will display a message when a player wins or if it's a tie.
- To start a new game, refresh the web page.
Contributions are welcome! If you have any suggestions, bug fixes, or improvements, feel free to open an issue or submit a pull request.
