This project demonstrates how to create a Tic-Tac-Toe game where a player can play against the player using HTML, CSS, and JavaScript. The game includes functionality for player1 moves, player2 moves, game state management, and basic styles to make the game interactive and visually appealing.
You can see a live demo of the project here.
- Player vs Computer: Play Tic-Tac-Toe against a player.
- Game State Management: Automatically detects win conditions and draws.
- Responsive Design: Adjusts to different screen sizes for an optimal viewing experience.
To use this project, simply download or clone the repository:
git clone https://github.com/logusivam/Tic-Tac-Toe.git
Alternatively, you can directly copy the HTML, CSS, and JavaScript code into your project files.
- Usage Include the CSS and JavaScript files in your HTML file:
<link rel="stylesheet" href="style.css" type="text/css">
<script src="tictactoe.js" type="text/javascript"></script>
- Customize the design and layout in the style.css file as needed.
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.