added game end

This commit is contained in:
lindsay 2017-08-15 00:07:51 -07:00
parent 1f9cb30436
commit a00a4b2ffa

View File

@ -1,3 +1,22 @@
function game_end()
while true
print("Your quest ends here. Or does it?\n\n")
choice = input("Would you like to restart your quest? Y/N: ")
if choice == "Y"
main()
elseif choice == "y"
main()
elseif choice == "N"
exit()
elseif choice == "n"
exit()
else
print("That was not one of your choices.")
end
end
end
function dui()
print("Here are your options. \n")