In Class

Create a basic artillery game. The player must fire a cannon to hit a target on the other side of a mountain. The angle of the cannon can be raised or lowered before firing.

Start from cannon.py.
This program takes care of the graphics. You'll need to fill in the fire() and update() functions.
The cannonball should move under the influence of gravity. It should detect if it hits the target or the mountain.

Other things that could be added:

next