Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

React ti-tac-toe game (https://bukarinevg.github.io/tic-tac-toe/)
https://github.com/bukarinevg/tic-tac-toe

Last synced: 17 days ago
JSON representation

React ti-tac-toe game (https://bukarinevg.github.io/tic-tac-toe/)

Awesome Lists containing this project

README

        

# Tic-Tac-Toe React Application

This is a simple Tic-Tac-Toe game built using React. It allows two players to take turns marking X and O on a 3x3 grid. The first player to get three of their marks in a row, column, or diagonal wins the game.

## Features

- Interactive gameplay with a user-friendly interface.
- Real-time updates to the game board.
- Display of the current player's turn.
- Detection of winning conditions and end of the game.
- Option to restart the game after a win or draw.

## Installation

1. Clone the repository: `git clone https://github.com/your-username/tic-tac-toe.git`
2. Navigate to the project directory: `cd tic-tac-toe`
3. Install the dependencies: `npm install`

## Usage

1. Start the development server: `npm start`
2. Open your browser and visit `http://localhost:3000`
3. Play the Tic-Tac-Toe game by clicking on the squares to make your moves.
4. The game will automatically detect winning conditions and display the winner.
5. Click the "Restart" button to start a new game.

## Technologies Used

- React
- HTML
- CSS

## Contributing

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

## License

This project is licensed under the [MIT License](LICENSE).