Use your mouse to get away from the dragon, and every 3 secs you score a point.
I used and made this from a coding book, so thanks to them!