Skip to content

Stateford/RPS-LS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RPS-LS

Write a program that lets the user play a game of Rock Scissors Paper against the computer.

• Rock blunts or breaks scissors; rock wins.
• Paper covers or captures rock; paper wins.
• Scissors cut paper; scissors win.
• Lizard poisons Spock
• Spock crushes scissors
• Spock vaporizes rock
• Paper disproves Spock
• Rock covers lizard
• Scissors decapitates lizard
• Lizard eats paper
If both players choose the same gesture, the game is tied. When the program ends, display the number of wins for the human player, computer and ties.