Game Development Stack Exchange is a question and answer site for
professional and independent game developers. It's 100% free, no registration required.
You should use some physics engines like Box2d.. or revise your high-school physics and implement the basic gravity equation (not so difficult - Newton second law: engineeringtoolbox.com/accelaration-gravity-d_340.html) – mm24Nov 24 '12 at 11:51
The collisions and gravity you can look up for a sphere basically anywhere. For the rotation of the ball you probably want to use quaternions. – Eric BNov 24 '12 at 16:22
I'm in middle school and also don't know what quaternions are... – Seth TaddikenNov 24 '12 at 22:58