A simple Tic Tac Toe game implemented using HTML, CSS, and JavaScript.
This project is a classic Tic Tac Toe game where two players take turns marking cells in a 3x3 grid. The game checks for a winner or a draw after each move.
- HTML: Provides the structure of the game.
- CSS: Adds styling to the elements for an appealing user interface.
- JavaScript: Implements the game logic and functionality.
- Responsive Design: The game is designed to be responsive and can be played on various devices.
- Player Switching: Players take turns marking cells as "X" or "O."
- Winning Condition: The game checks for a winner after each move and displays the result.
- Draw Detection: If no winner is found and all cells are filled, the game declares a draw.
- Open the
index.html
file in your web browser. - Players take turns clicking on the cells to mark them.
- The game will display the current player's turn and check for a winner or a draw after each move.
- If a winner is found, the game will display a congratulatory message.
- Click the "Reset" button to start a new game.
- index.html: Contains the HTML structure of the game.
- style.css: Provides the styling for the game elements.
- script.js: Implements the game logic and functionality.
- Multiplayer mode with user authentication.
- Improved styling and animations.
- Additional features such as a score tracker.
Contributions are welcome! If you have ideas for improvements or new features, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
- Font Awesome for game iconography.
- Google Fonts for the "Inter" font.
https://ojus999.github.io/TicTacToe/
Enjoy playing Tic Tac Toe!