You have to match and remove stones.
Stones can be removed only if there are 3
and more connected stones of the same kind.
To match stones select first stone and then select second.
If change is allowed - stones will exchange their places.