If you want to make the gravity in your game similiar to planet earth's gravity, you need to know the following equation:
Gravitational force = (G * m1 * m2) / (d2)
G is the gravitational constant, m1 and m2 are the masses of the two objects for which you are calculating the force, and d is the distance between the centers of gravity of the two masses.
