This is a simple Rock Paper Scissors game built with HTML, CSS, and JavaScript. The game allows the user to play against the computer, where both the player and the computer choose between "Rock", "Paper", or "Scissors." The results are displayed along with the score updates.
- Play against the computer with three choices: Rock, Paper, or Scissors.
- Dynamic score tracking for the player and the computer (Wins, Losses, Draws).
- Simple and clean user interface with interactive buttons.
- Real-time updates for the game result and score.
- HTML: Structure and layout of the page.
- CSS: Styling for the buttons, score, and game results.
- JavaScript: Handles the game logic, user input, and score updates.
- Click on one of the buttons: "Rock", "Paper", or "Scissors".
- The computer will randomly pick one of the choices as well.
- The game result will be displayed, showing whether you won, lost, or drew.
- Your score, as well as the computer's score, will be updated after each round.
- Rock beats Scissors.
- Scissors beats Paper.
- Paper beats Rock.
- If both the player and the computer choose the same option, it’s a draw.
- Download or clone the repository.
- Open the
index.html
file in your web browser. - Enjoy playing the game!
/rock-paper-scissors-game
├── index.html # Main HTML file
├── rockpaper_2.css # Stylesheet for the game
├── rockpaper_2.js # JavaScript file containing game logic
- You pick Rock.
- The computer picks Scissors.
- The result shows: You win!
- The score is updated: Player Win = 1 | Computer Win = 0 | Draws = 0.
Soon!!