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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started