Tic-Tac-Toe Game is designed for two players to take turns playing the classic game of Tic-Tac-Toe on the same local system. This README provides an overview of the project, its features, and how to set it up for development or use.
Player Interaction
- The game consists of three webpages. The first webpage contains a start button to initiate the game. The second webpage allows the first player to choose their marker (X or O), and the third webpage is where the game is played.
Gameplay
- Players take alternate turns to place their chosen marker on the Tic-Tac-Toe board by clicking on the cells.
Win Animation
- When a player wins the game, the winning pattern gets animated on the board.
Score Tracking
- The top of the game page displays the scores for Player 1, Player 2, and draws. The scores are updated as the game progresses.
New Game Popup
- After a match ends, a popup appears, allowing players to start a new game or continue the game with previous scores.
The Tic-Tac-Toe Game project is built using the following technologies:
- HTML
- CSS
- JavaScript
To set up the project for local development or use, follow these steps:
Clone the Repository
Clone this GitHub repository to your local machine.
Web Server Setup
You will need a web server to host the project files since it involves local multiplayer functionality. You can use a local development environment or a cloud-based server.
Start a New Game
- Navigate to the first webpage and click the "Start" button to initiate the game.
- The second webpage will allow the first player to choose their marker (X or O).
- The third webpage is where the game is played. Players take turns to make their moves.
Gameplay
- Click on the empty cells on the Tic-Tac-Toe board to place your chosen marker.
- The game will notify you if you win, lose, or the game ends in a draw.
- The scores at the top of the page will update accordingly.
New Game Popup
After a match ends, a popup will appear, allowing players to start a new game or continue the game with previous scores.




