Skip to content

suryaspandey/Rock_Paper_Scissor_Game

Repository files navigation

Rock_Paper_Scissor_Game

Developed a fun and interactive Rock Paper Scissors game using JavaScript that allows users to play against the computer.

Features

• 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

  1. Open the index.html file.
  2. Click on one of the images (Rock, Paper, or Scissors) to make your selection.
  3. The computer will randomly choose its move.
  4. The game will determine the winner based on the chosen moves and display the result.
  5. The game will keep track of the user's and computer's points.
  6. After 5 rounds, the final winner will be determined and displayed.

Technologies Used

HTML CSS JavaScript

Releases

No releases published

Packages

No packages published