Hello again! Below you will find a short video of the exercise in Chapter 3 of Starting Out with Python, 5th Edition by Tony Gaddis.
I added the following features to it:
- The target changes randomly
- It allows the player to choose whether to continue with the game or exit
- It has a message that says if the force and the angle are smaller or bigger than the target’s
Below is the operation.
See the code in GitHub.