Use left and right to move the cannon left and right. Use o to increase the launch speed and l to decrease. Use g to angle the cannon up and b to angle it down. Press space to fire. Try to hit the potion ten times! That makes you win. Do not hit the wall of crystals.
Compare to my WatermelonQ, which is the same type of project, also for school, but has slightly different ideas.