Question: In Class Assignment 2-Rock Paper Scissors EGRE246 Fall 2017 Assigned 9/1/2017-Due 9/4/2017 Introduction: In this Lab, you will program the game Rock, Paper, Scissors. This
In Class Assignment 2-Rock Paper Scissors EGRE246 Fall 2017 Assigned 9/1/2017-Due 9/4/2017 Introduction: In this Lab, you will program the game "Rock, Paper, Scissors." This game is intended to remind you of programming practices learned in C, as well as introduce you to the C++ language Rules: 1. Two players choose one of three choices: Rock, Paper, and Scissors 2. A winner is chosen on these conditions: .Paper Beats Rock Rock Beats Scissors Scissors Beats Paper . tie game happens when the two players choose the same thing. Here, you will do the following tasks: Seed srand) with 42 (so I can grade it later)- 2. 1. Display the name of the game and present the choice menu to the player 3. Read in an answer from the player and keep this answer. if the player picks an option that does not exist, tell the player so and ask for a choice until the user puts in a correct option. 4. Randomly pick a value for the computer for Rock, Paper, or Scissors. 5. Determine if the player wins or loses 6. Display one of the three phrases from Rule #2 that applies to what was played Ask if the player wants to play again. Replay if the user selects Y or Y. This are the Tasks 1-6 e. If the user inputs ANYTHING other than Y, or Y, quit the game 9. Use a boolean variable to control the program flow, either replaying or quitting game 10. DO NOT use p
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
