Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project 2: Rock, Paper, Scissors The purpose of this project is to use cin to handle user keyboard inputs, use branching statements to control the

image text in transcribed
Project 2: Rock, Paper, Scissors The purpose of this project is to use cin to handle user keyboard inputs, use branching statements to control the flow of a program, and work on your C++ programming problem-solving. You will implement a rock-paper-scissors game. The player enters 1 for Rock, 2 for Paper, or 3 for Scissors The computer randomly selects one of the three itself 3. The program displays computer and player choices and who won (or it it is a tie). Ask the player if they would like to play again Implement the folloing features in addition to the game play Keep a count of the number of times the player won, lost, and tied. Display these counts when the player ends the game Keep a count of the number of times the player selects rock, selects scissors, and selects paper. When the player stops playing display these counts. Use the rand) function to generate the computers selection. The code for this can be found in the project Work on your problem-solving ablities in C++ Use boolean expressions Use branching statements and loops to control the flow of a program Extra Credit 1. When the player ends the game, display who won the most rounds. Also display the object the game winner won with the most. +5% Tell the player what they should have chosen to win most of the time. For example, if the computer chose rock 7 out of the 10 times then the player should have chosen paper to win most of the time. 2. +5% C++ please

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Vi Special Issue On Database And Expert Systems Applications Lncs 7600

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2012th Edition

3642341780, 978-3642341786

Students also viewed these Databases questions

Question

using signal flow graph

Answered: 1 week ago

Question

9. Describe the characteristics of power.

Answered: 1 week ago