Skip to content

Tic-Tac-Toe is a classic two-player game built using HTML, CSS, and JavaScript. It provides a simple and fun way to play the popular game on your web browser. Challenge a friend and see who can get three in a row!

Notifications You must be signed in to change notification settings

AK016/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Tic-Tac-Toe

Tic-Tac-Toe Demo

Description

Tic-Tac-Toe is a classic two-player game built using HTML, CSS, and JavaScript. It provides a simple and fun way to play the popular game on your web browser. Challenge a friend and see who can get three in a row!

Table of Contents

Demo

Homepage

Homepage

Game

Game

Include a GIF or screenshot of your game in action to give users a visual preview of what they can expect.

Features

  • Classic Tic-Tac-Toe gameplay.
  • Turn-based play, with "X" and "O" markers.
  • Dynamic player status display.
  • Game over messages for wins and draws.
  • Restart functionality to play again.
  • Responsive design for various screen sizes.

How to Play

  1. Open the game in your web browser.
  2. The game starts with "X" as the first player.
  3. Click on an empty cell to make your move.
  4. Alternate turns with your opponent.
  5. The first player to get three in a row (horizontally, vertically, or diagonally) wins.
  6. If all cells are filled and no player wins, the game ends in a draw.

Installation

  1. Clone the repository to your local machine using the following command:
  2. Navigate to the project directory:
  3. Open the index.html file in your web browser to start playing.

Live App

You can play the game live by visiting the following link: Play Tic-Tac-Toe

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Clone the forked repository to your local machine.
  3. Create a new branch for your feature (git checkout -b feature-name).
  4. Make your changes and commit them (git commit -m 'Add feature').
  5. Push to your branch (git push origin feature-name).
  6. Open a pull request.

Please make sure to follow the code of conduct and the contributing guidelines when submitting contributions.

License

This project is licensed under the MIT License.


Feel free to customize this README template further if needed. The live link to your app has been added under the "Live App" section, making it easy for users to access your game.

About

Tic-Tac-Toe is a classic two-player game built using HTML, CSS, and JavaScript. It provides a simple and fun way to play the popular game on your web browser. Challenge a friend and see who can get three in a row!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published