Question: In this PYTHON program game you, the ultimate dodgeball champion, will be challenging a rival dodgeball team. To start, each team has 5 players in

In this PYTHON program game you, the ultimate dodgeball champion, will be challenging a rival dodgeball team.

To start, each team has 5 players in the game and an empty bench. Each of these players have the following attributes:

- Name (identifier)

- Throwing Skill Level

- Catching Skill Level'''

Ex. orangemonkeys =[("Robby",150,50),("Bob",100,110),("Sandra",180,70),("Barry",50,50),("Sara",150,100)] orangemonkeysBench = [] Each round a random generator will decide which player on your team you are playing as. Output the throwing ability and catching ability of this player. Next, as this player you get to choose who you will be throwing your ball at on the opposing team. Once you decide the computer will randomly generate the strength of your throw (between 0 and your max throwing ability). If the strength of your throw is greater than your targets catching ability then you get them out! However if their catching ability is greater than your throw then they catch your throw, this means you are out and they get to bring the most recently eliminated player of their team off the bench (if any available). The game will end when all of the players on your team have been eliminated or all of the players on the other team have been eliminated.

Python Program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!