Question: update the playGame ( ) function: ( 1 ) define a game with both teams and a scoreboard; ( 2 ) replace the line calling
update the playGame function: define a game with both teams and a scoreboard; replace the line calling the simulatePossession function with the simulateGameDay function; and remove the line that displays results.
update the execPassingPlay execRushingPlay and simulatePossession functions to make sure they update the score of the correct team whichever team has the possession
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
