Skip to content

This project demonstrates how to create a Tic-Tac-Toe game where a player can play against the computer using HTML, CSS, and JavaScript. The game includes functionality for player moves, computer moves, game state management, and basic styles to make the game interactive and visually appealing.

Notifications You must be signed in to change notification settings

logusivam/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe Game (Player vs Player)

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.

Demo

You can see a live demo of the project here.

Features

  • 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.

Installation

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.

  1. 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>
  1. Customize the design and layout in the style.css file as needed.

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This project demonstrates how to create a Tic-Tac-Toe game where a player can play against the computer using HTML, CSS, and JavaScript. The game includes functionality for player moves, computer moves, game state management, and basic styles to make the game interactive and visually appealing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published