Question: In this assignment you are tasked with creating a prototype for a Rock - Paper - Scissors Game . Game Background: While you are all
In this assignment you are tasked with creating a prototype for a RockPaperScissors Game
Game Background:
While you are all likely familiar with the game of RockPaperScissors, here are the basic rules of the
game. The game is played between players. The players will simultaneously each choose either Rock
Paper or Scissors The winner of the round is determined based on the following rules...
Rock wins over scissors since rock smashes scissors.
Paper wins over rock since paper covers rock.
Scissors wins over paper since scissors cut paper.
If each player chooses the same thing, the result is a tie.
Players can play as many rounds as they like, but often it is a race to win times. The first player to win
rounds wins the match.
Tasks to be completed:
NOTE FOR THIS PROGRAM, YOU CAN ASSUME THAT ONLY VALID DATA WILL BE ENTERED. YOU DO
NOT NEED TO VALIDATE USER ENTRY UNLESS YOU WANT TO INCLUDE THIS LOGIC. DATA VALIDATION IS
NOT A REQUIREMENT FOR THIS APPLICATION. FOCUS ON CREATING AND USING FUNCTIONS.
Open Pycharm and create a new project called RockPaperScissors
Add a new Python file to the project by right clicking on the Project New Python File. Name
the new Python File GamePlay
Include the common header at the top of your GamePlay.py file.
Create a Python program which satisfies the following conditions...
o The game will be played between a Human player and a Computer player.
o The game will allow a user to determine how many winning rounds must be needed
to win the match. A round is one iteration of the game play. Notice this requirement
is asking how many WINNING rounds are needed to win the match. Because of ties, you
will likely play more rounds than the predetermined number of winning rounds.
o A user will be allowed to enter their choice for rock, paper, or scissors.
o The computer will randomly choose rock, paper, or scissors.
o The game will display the winner of each round.
o When a player has reached the predetermined number of winning rounds to win the
match, the winner will be displayed and the game will stop.
o Scores for each player will be displayed during each round and at the end of the match.
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
