This project is a simple and fun implementation of the classic game "Rock Paper Scissors." The player competes against the computer, with the first to win 3 rounds being declared the winner. The game features score tracking, animations, and a responsive design for desktop and mobile devices.
- Player vs. Computer: Play against the bot in a series of 3 rounds.
- Score Tracking: Keeps track of both player and computer scores.
- Winner Declaration: The game declares a winner after 3 rounds.
- Reset Button: Restart the game at any point using the reset button.
- Responsive Design: Fully functional on both desktop and mobile devices.
- Interactive Animations: Engaging animations for user interaction.
- HTML5: Structure of the web page.
- CSS3: Styling and game animations for a better user experience.
- JavaScript: Game logic, score tracking, and interactivity.
- Choose either Rock, Paper, or Scissors.
- The computer randomly chooses its option.
- The game compares the choices and declares a round winner based on the rules:
- Rock beats Scissors
- Scissors beats Paper
- Paper beats Rock
- The first to win 3 rounds is declared the overall winner.
- You can reset the game anytime by pressing the "Reset" button.
index.html
: The HTML file that contains the structure of the game.style.css
: The CSS file for the visual design and animations.script.js
: The JavaScript file that contains the game logic.
- Clone the repository:
git clone https://github.com/Mahak-Codes/Rock-Paper-Scissor-Game.git