This is a simple website that allows you to play the classic game of Rock Paper Scissors against the computer. The game is played at the best of 5 and is built using vanilla JavaScript, HTML, and CSS.
- Play Rock Paper Scissors against the computer.
- Scoreboard displays the current scores of the player and the computer.
- Messages indicate the choices made and the winner of each round.
- Three big buttons with hand emojis represent the options: rock, paper, and scissors.
- Open the website in a web browser.
- Click on one of the three buttons to select your choice: rock, paper, or scissors.
- The computer will randomly select an option.
- The result of the round will be displayed in a message, indicating the choices made and the winner.
- The scoreboard will be updated with the new score.
- Repeat steps 2-5 until one player reaches the best of 5 rounds.
- JavaScript
- HTML
- CSS
A live demo of the website can be found here.
To run the website locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/rock-paper-scissors.git
- Navigate to the project directory:
cd rock-paper-scissors
- Open the
index.html
file in your preferred web browser.