Use your sword to fight monsters and defeat the Dragon. Collect gold to upgrade your boots, shield and armor, and defeat bosses to strengthen your sword. Most stages include a boss, that once defeated leaves behind a key to the next stage.
Jump in suspicious places to collect hidden coins. Wiggle the joystick left and right when in the air to improve you chances of getting lots of money.