Basically click on a group of 2 or more same types of gems to destroy them! There is shown DAMAGE GEM at the top of the screen, that shows the color of the gems, that causes damage to the enemy! Other colors give you corresponding mana points and coins, you can use these coins after each battle to buy new spells and other upgrades!
Defeat your enemy before he gets you!