/Rock-Paper-Scissors-Game

Rock-Paper-Scissors game it includes both the traditional version and an extended version with Lizard and Spock. The project features a command-line interface with clear instructions, random computer moves, score tracking, and a graceful exit.

Primary LanguagePythonMIT LicenseMIT

Rock-Paper-Scissors Game

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.

Game Instructions

Rock-Paper-Scissors

  • Rock crushes Scissors
  • Scissors cuts Paper
  • Paper covers Rock

Rock-Paper-Scissors-Lizard-Spock

  • 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

How to Play

  1. Clone or download the repository to your local machine.
  2. Ensure you have Python installed.
  3. Open a terminal or command prompt and navigate to the project directory.
  4. Run the main.py file using the command python main.py.
  5. Enter your name when prompted.
  6. 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.
  7. Follow the on-screen instructions to enter your move.
  8. The computer will randomly generate its move.
  9. The winner of each round will be determined according to the game rules.
  10. The current scores will be displayed after each round.
  11. Continue playing until you choose to exit the game.

Have fun playing Rock-Paper-Scissors and Rock-Paper-Scissors-Lizard-Spock!