TicTacToe game built using HTML, CSS, and JavaScript. It allows two players to take turns marking spaces on a 3x3 grid, aiming to get three of their symbols in a row, either horizontally, vertically, or diagonally, before the opponent does.
- Two Player Mode: Play against a friend locally on the same device.
- Interactive UI: A clean and intuitive user interface that makes it easy to play.
- Responsive Design: The game adapts to different screen sizes, allowing for a seamless experience across devices.
- Win Detection: The game automatically detects when a player has won and displays the Winner of the game.
- Reset Option: Reset the game board at any time to start a new game.
- New Game: New game option to start a game after a result of the previous game.
- Draw: If the result of the game is draw, it displays Draw.
1. Open the index.html file in your web browser.
2. Choose whether "X" or "O" will start the game.
3. Click on an empty square to place your symbol.
4. Take turns with your opponent until one player wins or the game ends in a draw.
5. To start a new game, click the "Reset" button.
- HTML5
- CSS3
- JavaScript
Play the TicTacToe game using this link: