Up and down arrows to aim the cannon, space to shoot. Try to eat all the bananas in as few shots as you can.