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.
Source
This article is over 2 years old — the linked page may have changed, moved, or been taken over since then.