The aim is to get to the fruit without touching the dragons or their fire. If you do, you will go back to the start.
Scripts from The_Music_Freak's maze.