Hint: Fighting the dragon:
Quickly press [Space] several times when fighting the dragon to catch the balls and raise your character's energy level. 

Hint: Attacking various dragons:
The first dragon can be defeated with red, the second dragon with gold, the third dragon with green, the fourth dragon with blue, the fifth dragon with gold, the sixth dragon with blue and the seventh dragon with red.