Bomb the pirate pigs

Game description: 

Oh no, greedy pigs pirates have appeared on the island; they want to steal all the treasures! Your task is to stop them at any cost. At your disposal there is a limited amount of bombs, which have different properties. Try to use bombs wisely to destroy all the pig pirates and collect all the stars on each level. Good luck!