Skip to content

paletinaveena/RPSLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Rock-paper-Scissors-lizard-Spock Game

This repository contains a Python implementation of the "Rock-paper-Scissors-lizard-Spock" game. The game is an extension of the classic "Rock-paper-Scissors" and adds two additional choices (lizard and Spock) to the traditional options. The game allows a player to compete against the computer in a series of turns.

Introduction

The "Rock-paper-Scissors-lizard-Spock" game is a variation of the popular game "Rock-paper-Scissors." It was introduced in the TV series "The Big Bang Theory" and gained popularity among fans. This Python implementation allows players to engage in the game with the computer as the opponent.

Rules

The game follows these rules:

  • Rock crushes lizard and scissors.
  • Paper covers rock and disproves Spock.
  • Scissors cuts paper and decapitates lizard.
  • Lizard poisons Spock and eats paper.
  • Spock smashes scissors and vaporizes rock.

Usage

To play the game, follow these steps:

  1. Clone the repository to your local machine or download the source code files.
  2. Make sure you have Python installed on your system (version 3 or above).
  3. Run the Python script rock_paper_scissors_lizard_spock.py using a Python IDE or the command line.
  4. Enter the number of turns you want to play when prompted.
  5. In each turn, enter your choice (rock, paper, scissors, lizard, or Spock) when prompted.
  6. The game will compare your choice with the computer's random choice and determine the winner for each turn.
  7. At the end of the game, the script will display the final score and declare the overall winner.

Output

Screenshot 2023-06-12 at 10 56 34 AM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages