Question: Write a program called RockPaperScissors(). Here is a list of requirements: 1) The game will ask the player how many games will it take to
Write a program called RockPaperScissors(). Here is a list of requirements:
1) The game will ask the player how many games will it take to win?
2) The game will play until the player enters "quit" or the player-chosen-number is reached.
3) Write a user-friendly interface that prompts the user for their choice of (R)ock, (P)aper, or (S)cissors.
4) For your first iteration, use the random number generator to make the computer's choice of R, P, or S. The computer's choice must be made before the players choice.
5) Report the winner after each turn, the current win total and anything else that you think would enhance the quality of the game.
6) Optional Modification #1: Once you have a fully-functioning RPS game, modify your program to outguess the player (without cheating) so that the computer wins more often than the player.
7) Optional Modification #2: Write a two-player version of RPS.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
