项目作者: Stateford

项目描述 :
Assignment for C++ class
高级语言: C++
项目地址: git://github.com/Stateford/RPS-LS.git
创建时间: 2017-10-05T03:06:03Z
项目社区:https://github.com/Stateford/RPS-LS

开源协议:

下载


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.