Skip to content

priyakinha/Rock-Paper-Scissor-Game-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissor-Game-Project

Overview

This is a simple Rock Paper Scissors game implemented in JavaScript. The game allows users to play against the computer, keeping track of scores and displaying the outcome of each round.

Features

  • User can choose between Rock, Paper, or Scissors.
  • The computer randomly selects its choice.
  • The game determines the winner based on the classic rules:
    • Rock beats Scissors
    • Scissors beats Paper
    • Paper beats Rock
  • Scores are updated and displayed after each round.
  • Messages indicate whether the user won, lost, or if the game was a draw.

Technologies Used

  • HTML
  • CSS
  • JavaScript

How to Play

  1. Click on one of the choices: Rock, Paper, or Scissors.
  2. The computer will make its choice.
  3. The result will be displayed, along with the updated scores.
  4. Play multiple rounds to see who scores the most!

Installation

To run this game locally, follow these steps:

  1. Clone the repository: git clone https://github.com/priyakinha/Rock-Paper-Scissor-Game-Project.git
  2. Navigate to the project directory: cd Rock-Paper-Scissor-Game-Project
  3. Open rock.html in your web browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published