c++Play the rock paper scissors game. Two players enter either rockpaperscissors
, , or and the winner is determined as follows:
paper covers rock
rock breaks scissors
scissors cut paper.
Ask the user if s/he wants to play again. BE SURE to include a function calledplayas shown in the template.
Sample run:
Play rock, paper, scissors
Player 1: rock
Player 2: paper
Player 2 wins -- Paper covers rock
Do you want to continue? (yes or no): yes
Player 1: scissors
Player 2: rock
Player 2 wins -- Rock breaks scissors
Do you want to continue? (yes or no): no
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here