A simple Rock Paper Scissors game built with JavaScript.
The game runs in the browser console and plays 5 rounds against the computer.
- 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.
- HTML
- JavaScript
- Clone this repository
- Open index.html in your browser
- Open the browser console
- Play the game through the prompt dialogs
- JavaScript functions and parameters
- Conditional statements (if/else)
- Loops
- Variable scope
- Basic game logic structure