You've found a treasure-trove of diamonds and other precious stones. In order to take them all home with you, you have to classify them according to type.
Click on a stone and then on another one adjacent to it, to change their positions and make rows or columns of 3 or more of the same type. Each time you do, they'll disappear and you'll get points. Your time is limited.