Question: Use C++ Write a program that lets the user play the game of: Rock, Paper, Scissors, Lizard, Spock. As Sheldon explains, Scissors cuts paper, paper
Use C++
Write a program that lets the user play the game of: Rock, Paper, Scissors, Lizard, Spock. As Sheldon explains, "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." A well-structured program using arrays can be switched back to the original game by changing only one constant (this is a goal, not a requirement). You may wish to use the following string literals: "Enter a random seed number: " "Tie game, go again " "Player wins! " "Computer wins. " " (" ")" "), " "Enter your choice: (1 - " "): " "Error! Select 1 - " " only: " " choses " "Rock " "Paper " "Scissors " "Lizard " "Spock " "Sam Kass and Karen Bryla invite you to play Rock, Paper, Scissors, Lizard, Spock..... " "As Sheldon explains, \" " << " " << "" << "" " Using the following test data: 0 1 Your output should look like this: Enter a random seed number: Rock (1), Paper (2), Scissors (3), Lizard (4), Spock (5) Enter your choice: (1 - 5): Player choses Rock Computer choses Lizard Player wins!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
