Developed a fun and interactive Rock Paper Scissors game using JavaScript that allows users to play against the computer.
• Created a user-friendly interface with HTML and CSS to provide an intuitive gaming experience.
• Utilized JavaScript to implement game logic, enabling players to choose between rock, paper, and scissors.
• Incorporated random selection by the computer, ensuring unpredictability and a fair gaming environment.
• Displayed game results dynamically, indicating whether the player won, lost, or tied against the computer.
Rules of the Game The game follows the classic rules of Rock Paper Scissors:
Rock beats Scissors
Scissors beats Paper
Paper beats Rock
How to Play
- Open the index.html file.
- Click on one of the images (Rock, Paper, or Scissors) to make your selection.
- The computer will randomly choose its move.
- The game will determine the winner based on the chosen moves and display the result.
- The game will keep track of the user's and computer's points.
- After 5 rounds, the final winner will be determined and displayed.
HTML CSS JavaScript