Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 1.51 KB

README.md

File metadata and controls

67 lines (48 loc) · 1.51 KB

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!