To make the dragon jump, press the spacebar. If the dragon bumps the rocks, the whole game will stop. To retry, press the green flag again.
Thanks to Scratch for the jumping game tutorial.