This repository contains a simple Rock, Paper, Scissors game built using HTML, CSS, and JavaScript. Players can choose between rock, paper, or scissors and compete against the computer.
- HTML: Structure of the game interface
- CSS: Styling of the game elements
- JavaScript: Game logic, user interaction, and result determination
- Open the
index.html
file in a web browser. - Click on one of the options: Rock, Paper, or Scissors.
- The computer will randomly select an option.
- The winner is determined based on the classic Rock, Paper, Scissors rules.
The JavaScript code implements the following logic:
- Randomly generates a choice for the computer.
- Compares the player's choice with the computer's choice.
- Determines the winner based on the game rules.
- Updates the game interface with the result.
- Implement a scoring system to track wins, losses, and ties.
- Add a best-of-three or best-of-five game mode.
- Enhance the user interface with animations or sound effects.
Enjoy playing!