The ball has holes with colored rings around them. And there are as many balls in the same colors as the rings. The trick is to push a ball into the right ring. Only when every ball is in the hole, with the same color ring as the ball, is the puzzle finished. Try doing that in as few turns as possible...