Right & left arrows for moving horizontally, up arrow for jumping
The force placed on the ball, (player) is proportional to the amount of time your finger is either on the right or left arrow key. The net forced placed on the ball includes the gravity and X velocity