I'm still confused about what the goal of the game is. I assumed I need hit the green square by using the gravity of the spheres to influence my position but that didn't seem to be it.
That's exactly the goal of the game. What made you assume otherwise?