This is a simple implementation of the classic Tic-Tac-Toe game using HTML, CSS, and JavaScript.
This project showcases a basic interactive Tic-Tac-Toe game that can be played in a web browser. The game features a two-player mode, where players take turns to place their markers (X and O) on the game grid. The first player to get three of their markers in a row, column, or diagonal wins the game.
- Interactive game board with a 3x3 grid.
- Players can take turns to place their markers on empty cells.
- Win detection to determine the winner of the game.
- Reset button to start a new game.
- HTML: Provides the structure of the game layout.
- CSS: Styles the game board, cells, and other elements.
- JavaScript: Implements the game logic, win detection, and user interactions.
- Clone or download the repository to your local machine.
- Open the
index.html
file in a web browser. - Start playing by taking turns with another player to place X and O markers on the grid.
- The game will automatically detect a win or a draw and display the result.
- Click the "Reset" button to start a new game.
This project was created by Anubhav. You can find the source code and license information on the GitHub repository.