There are holes in the ball with colored rings around them. And there are just 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 colored ring as the ball, is the puzzle finished. Try doing that in as few turns as possible...