Tic Tac Toe Game
A simple, interactive Tic Tac Toe game built using HTML, CSS, and JavaScript. This project is a digital recreation of the classic game, providing a fun and engaging way for two players to compete.
Features
Two-Player Gameplay: Play against a friend in real-time.
Responsive Design: Seamlessly adapts to different screen sizes.
Dynamic UI: Real-time updates for every move.
Game Reset: Reset the board to play again without refreshing.
Win/Draw Detection: Automatically determines the game outcome.
Installation
- Clone the repository:
git clone https://github.com/your-username/tic-tac-toe.git
- Navigate to the project directory:
cd tic-tac-toe
- Open index.html in your browser to start playing.
Usage
-
Open the game in any modern browser.
-
Take turns marking cells on the grid (Player 1: X, Player 2: O).
-
The game will highlight the winner or declare a draw when the game ends.
-
Use the "Reset" button to play again.
Challenges Faced
Implementing win and draw detection logic.
Debugging dynamic UI updates.
Future Enhancements
Add an AI opponent for single-player mode.
Implement a scoring system.
Acknowledgments
Inspired by the classic game of Tic Tac Toe.