You are in :Skill Monkey Games
About the Author
The author of the game is arkadium, gaming company founded in 2001. Their main focus are logic and puzzle games like: Mahjong and Solitaire. Monkey Gems was published in 2011. It is interesting that it was included in CNN's game list.
You can win only if you completely destroy the snake. So, you need to clear all the gems.
As you hit the gems and make points, the bar in the upper right corner will slowly fill up. When it is completely full, snake tail will appear. That is the beginning of the end and game is entering its last phase.
If you hit a gem with the star, you get additional 'combo' points.
On higher levels the snake becomes longer and thus the game becomes harder.