This is a simple implementation of the classic Tic Tac Toe game built with HTML, CSS, and JavaScript.
Tic Tac Toe is a two-player game where each player takes turns marking spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.
- Interactive UI for playing the game
- Single and two-player modes
- Simple and clean design
- Clone the repository to your local machine.
- Open the
index.html
file in your web browser. - Choose the game mode: Single Player or Two Player.
- Click on the grid to make your move.
- The game will announce a winner or a tie.
- HTML: Structure of the game board and modals.
- CSS: Styling of the game board and UI elements.
- JavaScript: Game logic and player interactions.
To set up the game locally, follow these steps:
git clone https://github.com/Prathamgupta661/Tic-Tac-Toe-Game.git
cd Tic-Tac-Toe-Game
# Open index.html in your browser