Giter Club home page Giter Club logo

tic-tac-toe-react's Introduction

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!

tic-tac-toe-react's People

Contributors

harshitshukla0208 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.