Loop back to menu.

Throughout my game, the player is given options as to what path they take, and each path ends different.
For example, if the player selects 1, they meet a dangerous animal and die.
Does anyone know how to loop the program back to my menu so that they can press '1' to play?
A menu function will do, else a while loop
Thank you, that was easier than I thought:)
Topic archived. No new replies allowed.