Skip to content

Harshitshukla0208/Tic-Tac-Toe-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game with Vite and React

link : https://harshit-tic-tac-toe.netlify.app/

Welcome to my Tic Tac Toe game built with Vite and React! This simple yet classic game allows two players to compete against each other in a battle of Xs and Os.

image

Features

  • Responsive Design: Play the game seamlessly on various devices, thanks to the responsive layout.
  • Turn-based Gameplay: Take turns with your opponent, marking the grid with your respective symbol.
  • Winning Logic: The game automatically detects and declares the winner when a player gets three symbols in a row (horizontally, vertically, or diagonally).
  • Reset Functionality: Start a new game with the reset button to enjoy multiple rounds.

Installation

  1. Clone the repository to your local machine.

    git clone https://github.com/Harshitshukla0208/Tic-Tac-Toe-react
  2. Navigate to the project directory.

    cd Tic-Tac-Toe-react
  3. Install dependencies using npm or yarn.

    npm install
    # or
    yarn install

Usage

  1. Start the development server.

    npm run dev
    # or
    yarn dev
  2. Open your browser and go to http://localhost:3000 to play the Tic Tac Toe game.

  3. Enjoy the game by taking turns with a friend or family member. Have fun!

Contributing

Contributions are welcome! If you have any suggestions, improvements, or bug fixes, feel free to open an issue or create a pull request.

License

This project is licensed under the MIT License.

Happy gaming!

About

Welcome to my Tic Tac Toe game built with Vite and React!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published