Welcome to the Rock Paper Scissors game! This is a classic hand game where you can compete against the computer in a battle of wits. But wait, there's more! We have an advanced mode that introduces two additional options: Lizard and Spock. Are you ready for the challenge?
Regular Mode In the regular mode, you can play the traditional version of Rock Paper Scissors, where you choose between three options: Rock, Paper, or Scissors. Here's how each option fares against the others:
Rock crushes Scissors Scissors cuts Paper Paper covers Rock
Choose your option (Rock, Paper, or Scissors). The computer will randomly select its option. The game will determine the winner based on the rules mentioned above. Repeat and try to outsmart the computer!
Advanced Mode In the advanced mode, we take the Rock Paper Scissors game to a whole new level by introducing Lizard and Spock. Now you have five options to choose from:
Rock crushes Scissors Scissors cuts Paper Paper covers Rock Rock crushes Lizard Lizard poisons Spock Spock smashes Scissors Scissors decapitates Lizard Lizard eats Paper Paper disproves Spock Spock vaporizes Rock To play in advanced mode, follow the steps below:
Choose your option (Rock, Paper, Scissors, Lizard, or Spock). The computer will randomly select its option. The game will determine the winner based on the new rules mentioned above. Challenge your strategic thinking and see if you can prevail!
To run the Rock Paper Scissors game, follow these instructions:
- Clone the repository to your local machine.
- Open the terminal or command prompt and navigate to the project directory.
Install the required dependencies by running the following command:
- npm install
Run the game script by executing the following command:
- npm run
Select the game mode (Regular or Advanced) by following the prompts. Make your choice by typing the corresponding option and pressing Enter. The game will display the computer's choice and announce the winner.
Play again and enjoy the game!
This game was inspired by the classic Rock Paper Scissors and the additional options introduced in "The Big Bang Theory" TV series. Special thanks to the open-source community for their valuable contributions. If you have any questions or encounter any issues, please don't hesitate to reach out. Enjoy the game!