The Wacky Physics of Firing a Ball Out of a Moving Cart

A classic physics experiment features a moving cart firing a ball into the air. What happens if you place the cart on an incline?