Skip to content

meenuks141/Rock-Paper-Scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors

A simple Rock Paper Scissors game built with JavaScript.
The game runs in the browser console and plays 5 rounds against the computer.

How It Works

  • The computer randomly selects rock, paper, or scissors.
  • The user enters their choice through a browser prompt.
  • The game compares choices and updates scores.
  • After 5 rounds, the final winner is displayed in the console.

Built With

  • HTML
  • JavaScript

How to Run

  1. Clone this repository
  2. Open index.html in your browser
  3. Open the browser console
  4. Play the game through the prompt dialogs

What I Learned

  • JavaScript functions and parameters
  • Conditional statements (if/else)
  • Loops
  • Variable scope
  • Basic game logic structure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages