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.
- 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.
- React.js: Frontend framework for building the app.
- CSS: For styling the app and ensuring responsiveness.
Follow these steps to run the project locally:
-
Clone the repository:
git clone https://github.com/waghraj1699/rock-paper-scissors-game-app.git
-
Navigate to the project directory:
cd rock-paper-scissors-game-app
-
Install dependencies:
npm install
-
Start the development server:
npm start
-
Open the app in your browser at:
http://localhost:3000
- Open the app and choose your move: Rock, Paper, or Scissors.
- The computer will randomly select its move.
- See the result of the match (Win/Lose/Draw) and your updated score.
- Play as many rounds as you like!
Feel free to reach out if you have any questions or suggestions! Happy coding!