Skip to content

eclairsp/RPSLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissor Lizard Spock

Simple Rock Paper Scissor Lizard Spock game. Rock Paper Scissors Lizard Spock is an extension of the classic game of chance, Rock Paper Scissors, created by Sam Kass and Karen Bryla. It was popularised by The Big Bang Theory.

RPSLS

Rules for RockPaperScissorLizardSpock in Web Game

You can play the web game here

  • Click on emoji on the "YOU" side to select your choice.
  • The game is best of three.
  • Can reset/restart at any time using the reset button.

Rules for RockPaperScissorLizardSpock in Python

  • You can select your choice using keyboard.
  • R for Rock, P for Paper, S for scissor, L for Lizard, K for Spock, Q to quit
  • You can use lowercase. No Problem!

The python file is in the repo named "rps.py"

Python Demo

$ python rps.py
The clasic Rock, Paper, Scissor !
Press R for rock, P for paper, S for scissor, Q to quit
3
2
1
Go.
Are you ready!! Press Enter
>R
Rock v/s Spock
Damn the Spock is tough! Computer Wins.
>K
Spock v/s Rock
Damn the Spock is tough! You win.
>S
Scissor v/s Rock
Damn the Rock is tough! Computer Wins.
>L
Lizard v/s Paper
Damn the Lizard is tough! You win.
>P
Paper v/s Scissor
Damn the Scissor is tough! Computer Wins.
>q

The rules for the game itslef

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 ✊,
and as it always has, Rock ✊ crushes Scissors ✌️.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •