Question: Design and Implement an application that plays Rock Paper, Sciss ors, Lizard, Spock against the computer. The user should select Rock, Paper, Scissors, Lizard or

 Design and Implement an application that plays Rock Paper, Sciss ors,
Lizard, Spock against the computer. The user should select Rock, Paper, Scissors,

Design and Implement an application that plays Rock Paper, Sciss ors, Lizard, Spock against the computer. The user should select Rock, Paper, Scissors, Lizard or Spock The program should randomly select a number. The program should then reveal both cholces and prints a statement indicating whether the user won, computer won or there was a tie. Continue laying until the user chooses to stop and then print the number of us er wins, losses and ties. The class name sho uld be "RPSLS. You could use multiple dasses, but only one is required Extra Challenge (8 points) Offer the user a "best of option. Play until a winner is determined. (Remember. Ifthere is a best of "7" selected if the irst four attempts are all wins for the user, there is no reas on to play the Sth attempt) The program should request a user to enter"rodk. paper, scissors, "lizard" or "Spock The program should keep a running total of wins/losses/ties. The game should continue until the user wants to stop playing lunless the user selected a best of option Here is a sample display How about a "best of competition? (3,5,7)N IChallenge Only Please enter rock paper, scissors, lizard or Spock: Rock The computer selected Scissors. .You Win! Do you want to play again? N Wins 1 Losses 0 Ties-0 You may not use any source code from the Internet. Anyone who uses code from an outside source (Internet/Priend/YouTube) will get a zero for the project and an F in this course. You have been notified

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!