Question: Create a program where the player can complete against the computer ( who chooses randomly from the 5 choices ) . The game should last
Create a program where the player can complete against the computer who chooses randomly from the choices The game should last for rounds each round is a single choice by the player and computer After each round, the program should report the score for the round and the current total score. At the end a comment should be made about how well the player did with a total score of less than resulting in a message about below average performance and a score greater than in a message about above aveaboveaveragerage performance.
Lab questions:
Based on testing, what do you think is the optimal strategy?
How would your strategy change if the points for wins and ties were doubled?halved?
How would you change your approach to programming this assignment if the number of choices were increased from to or
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
