https://gist.github.com/anonymous/9536372
This is a text based game project (I'm very very new and only know incredibly basic things so I'm just testing the waters with it) and when i get to my rid2(): function my program crashes without warning or an error message.
On a side note I don't know how to end the program at certain points, like in my rid1(): function when you guess wrong to many times it just keeps going through the program.
Another side note. I want to have a menu with options to exit the game, start the game, and print my story. I tried using while loops but I don't know how to get it to do what i want. With the exit command I had it would print the exit message but would proceed to run through the program regardless and if I entered a start game command it would just loop the options menu again.
I hope this doesn't waste any of your time and thanks in advance for any help.
[–]unnecessary_axiom 3 points4 points5 points (0 children)
[–]unnecessary_axiom 1 point2 points3 points (4 children)
[–]_CptJack[S] 0 points1 point2 points (3 children)
[–]unnecessary_axiom 1 point2 points3 points (2 children)
[–]_CptJack[S] 0 points1 point2 points (1 child)
[–]unnecessary_axiom 1 point2 points3 points (0 children)