A classic, interactive Rock Paper Scissors game built for the web. Test your luck and strategy against the computer in a race to 5 points!
- Classic Gameplay: Rock crushes scissors, scissors cut paper, and paper covers rock.
- Score Tracking: Dynamic score updates for both the human player and the computer.
- First to Five: The game continues until either you or the computer reaches 5 points.
- Interactive UI: Custom-styled buttons with hover and active states, set against a warm, gradient background.
- Instant Feedback: Uses browser alerts to give you immediate feedback after every round.
- Replayability: A "Play Again" button smoothly resets the board once a winner is crowned.
- Choose your weapon: Click on ROCK, PAPER, or SCISSOR.
- Read the result: A pop-up alert will tell you what the computer chose and who won the round.
- Watch the score: The scores on the screen will update automatically.
- Win the match: Be the first to reach 5 points to secure the victory!
To run this project locally on your machine, simply follow these steps:
- Clone the repository (or download the ZIP file):
git clone https://github.com/Rudra-RNC/RockPaperScissor.git
- Navigate to the project directory:
cd rock-paper-scissors - Open
index.htmlin your web browser:- You can double-click the
index.htmlfile, or - Use the command line:
open index.html
- You can double-click the
Rudra Kumar - GitHub | LinkedIn | Twitter/X
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! If you have suggestions for improvements or want to add new features, please feel free to fork the repository and submit a pull request.
If you have any questions or feedback, please reach out to me at GMail.
- Thanks to the open-source community for providing resources and inspiration for this project.
- Special shoutout to all the players who have tested the game and provided valuable feedback!
