The Bouncing Ball with Gravity script simulates the world’s best superball—it bounces forever. Of course you may change that by pressing a key. The ball will bounce lower and lower until coming to a rest. The variables are:x is the horizontal coordinate y is the vertical coordinate h is the horizontal increment value (+ or -); initial value is 10 v is the vertical increment value (+ or -); initial value is 2 g is the force of gravity; initial value is 2 r and q are variables for saving the y value from one move ago gg is a flag to remind gravity variable (g) to get a lot more powerful (change from 2 to 5) since a key has been pressed