Clash of clans is an online multiplayer game for mobile platform. It was first developed for iOS, Apple iPhones, later was relaunched on Android Platform when it gained huge popularity. The game basically engage groups of different players called clans. Clash of Clans has separate character types like goblins, archers, barbarians etc who have their own separate abilities, health points and attack damages. Gems are the ultimate currency in Clash of Clans; they can be used to build structures faster, train troops faster and to buy various special units. There are 3 kinds of resources in Clash of Clans game - Gold, Elixir and Dark Elixir, which are used to make any structure or build any troops. Gold and elixir are the basic resources and Dark elixir is unlocked at a higher level of the game. There are many buildings and structures that need to be built in the game, but most important of them is the Town Hall which defines the general level of any player. Town halls can be updated from level 1 to level 12 and with advancement of each level, new types of structures and troops are unlocked. A player starts with 500 gems by default, in the training before beginning the game, Clash of Clans player spends 250 gems, and 8 more if he or she wants to build structures faster, rest are left to play throughout the game. There are normal spells and dark spells in the game, they are created from Spell Factory and Dark Spell Factory Respectively. Spells or units can be researched and update