Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tauqueeralam42/tic-tac-toe

A web-based multiplayer Tic Tac Toe game where players take turns marking spaces in a 3x3 grid. The game announces the current player's turn, declares a winner with a highlighted winning combination, or indicates a tie. Enjoy a classic game of strategy and skill with intuitive gameplay and interactive features.
https://github.com/tauqueeralam42/tic-tac-toe

css html javascript

Last synced: about 2 months ago
JSON representation

A web-based multiplayer Tic Tac Toe game where players take turns marking spaces in a 3x3 grid. The game announces the current player's turn, declares a winner with a highlighted winning combination, or indicates a tie. Enjoy a classic game of strategy and skill with intuitive gameplay and interactive features.

Awesome Lists containing this project

README

        

# Tic Tac Toe Game

A web-based Tic Tac Toe game where two players can play against each other. The game provides information about the current player's turn, announces the game winner, or declares if the game ends in a tie. Players can start a new game with the click of a button once the current game concludes. Winning combinations are highlighted in green when a player wins, and no further moves are allowed after a win.

## Features

- **Current Turn Indicator:** Displays which player's turn it is (Player X or Player O).
- **Game Winner Announcement:** Highlights the winning combination in green and displays the winner.
- **Game Tie Declaration:** Announces if the game ends in a tie with no winner.
- **New Game Button:** Allows players to start a new game after finishing the current game.
- **Interactive Grid:** Players can click on the grid to make their moves until the game concludes.

## Demo

Play the game live [here](https://tauqueer-tic-tac-toe-app.netlify.app/).

## How to Run

To run the game locally:

1. Clone the repository:
```sh
git clone https://github.com/tauqueeralam42/tic-tac-toe-game.git
2. Navigate to the project directory:
```sh
cd tic-tac-toe-game
```

3. Open `index.html` in your browser to run the app.

## Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Make your changes.
4. Commit your changes (`git commit -m 'Add some feature'`).
5. Push to the branch (`git push origin feature-branch`).
6. Open a pull request.

## Contact

For any questions or suggestions, feel free to reach out.

- GitHub: [tauqueeralam42](https://github.com/tauqueeralam42)
- Email: [email protected]