If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
collect as many hearts as possible and reach the end of each level. Dangers await at every corner, such as nasty dragons, flying scorpions and gaps in the ground, so make sure you avoid all these traps!
Left / Right Arrow Keys - Move.
Up Arrow Key - Jump.