Tic-Tac-Toe-Game A simple web-based Tic-Tac-Toe game built using HTML, CSS, and JavaScript. The game allows two players to play in turns, and it also includes a scoreboard to keep track of wins for each player. Features
- Playable Tic-Tac-Toe game for two players (Player X and Player O).
- A scoreboard that tracks the number of wins for each player.
- Responsive design for all screen sizes.
- Reset button to restart the game.
How to Play
- Open the
index.html
file in your browser. - Players take turns clicking on the grid to mark their positions.
- The game will declare the winner once a player gets three marks in a row, column, or diagonal.
- The scoreboard will be updated automatically with the number of wins for each player.
- You can reset the game at any time by clicking the Reset Game button.
Used
- HTML5
- CSS3
- JavaScript
Installation
- Clone the repository to your local machine:
git clone https://github.com/AnushkadilshanS/Tic-Tac-Toe-Game