This repository contains a Python implementation of the classic Rock-Paper-Scissors game, including an extended version called Rock-Paper-Scissors-Lizard-Spock. The game is played through a command-line interface and features clear instructions, random computer moves, score tracking, and a graceful exit.
- Rock crushes Scissors
- Scissors cuts Paper
- Paper covers Rock
- 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
- Rock crushes Scissors
- Clone or download the repository to your local machine.
- Ensure you have Python installed.
- Open a terminal or command prompt and navigate to the project directory.
- Run the
main.py
file using the commandpython main.py
. - Enter your name when prompted.
- Choose which version of the game you want to play:
- Enter
1
to play Rock-Paper-Scissors. - Enter
2
to play Rock-Paper-Scissors-Lizard-Spock. - Enter
3
to quit the game.
- Enter
- Follow the on-screen instructions to enter your move.
- The computer will randomly generate its move.
- The winner of each round will be determined according to the game rules.
- The current scores will be displayed after each round.
- Continue playing until you choose to exit the game.
Have fun playing Rock-Paper-Scissors and Rock-Paper-Scissors-Lizard-Spock!