Draw the field and the quarterback on the left side of the field using turtle graphics as a stick figure.
Randomly select an X location for the receiver on the right side of the screen and draw as a stick figure.
Prompt the user for a speed and velocity of the football.
Animate the movement of the football using the user supplied angle and velocity.
Using euclidean distance, check if the ball is within a reasonable radius of the receiver. If it is, print "You win" and end the game. This is done every time the game loop executes.
Check if the ball is within a short distance of the ground (y <= d) if it is, print "You missed" and end the game. This is done every time the game loop executes.
This assignment has been answered 2 times in private sessions.
© 2021 Codify Tutor. All rights reserved