Each time you touch the diamond, you earn one point. Every 100 points you gain one life. There are 3 difficulties, each varying with base lives and score needed to up the speed.

http://dsgamemaker.com/forum/viewtopic.php?f=28&t=4373