Skip to content

The Rock-Paper-Scissors Game App is an engaging and interactive game built using React.js. It allows players to challenge a computer opponent, providing instant results and scores. This project demonstrates the use of React concepts like component-based architecture, state management, and event handling.

Notifications You must be signed in to change notification settings

Waghraj1699/rock-paper-scissors-game-app

Repository files navigation

Rock-Paper-Scissors Game App

A simple and interactive Rock-Paper-Scissors game built using React.js. This project is a fun way to practice React concepts like state management, event handling, and component-based architecture.

Table of Contents


Features

  • Choose between Rock, Paper, and Scissors.
  • Play against the computer with a random choice generator.
  • Display the score and result after each round.
  • Fully responsive design for desktop and mobile.

Technologies Used

  • React.js: Frontend framework for building the app.
  • CSS: For styling the app and ensuring responsiveness.

Installation

Follow these steps to run the project locally:

  1. Clone the repository:

    git clone https://github.com/waghraj1699/rock-paper-scissors-game-app.git
  2. Navigate to the project directory:

    cd rock-paper-scissors-game-app
  3. Install dependencies:

    npm install
  4. Start the development server:

    npm start
  5. Open the app in your browser at:

    http://localhost:3000
    

Usage

  1. Open the app and choose your move: Rock, Paper, or Scissors.
  2. The computer will randomly select its move.
  3. See the result of the match (Win/Lose/Draw) and your updated score.
  4. Play as many rounds as you like!

Feel free to reach out if you have any questions or suggestions! Happy coding!

About

The Rock-Paper-Scissors Game App is an engaging and interactive game built using React.js. It allows players to challenge a computer opponent, providing instant results and scores. This project demonstrates the use of React concepts like component-based architecture, state management, and event handling.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published