added new lines

This commit is contained in:
lindsay 2017-08-15 04:50:07 -07:00
parent 9bcc84a9f1
commit e027b849dd

View File

@ -1,9 +1,9 @@
function game_end() function game_end()
while true while true
print("Your quest ends here. Or does it?\n\n") print("\nYour quest ends here. Or does it?\n\n")
choice = input("Would you like to restart your quest? Y/N: ") choice = input("\nWould you like to restart your quest? Y/N: ")
if choice == "Y" if choice == "Y"
main() main()
@ -22,9 +22,9 @@ end
function dui() function dui()
print("Here are your options. \n") print("Here are your options. \n\n")
print("Option 1 - Go to your local Safeway. \n") print("Option 1 - Go to your local Safeway. \n")
print("Option 2 - Go to the closest gas station. \n") print("Option 2 - Go to the closest gas station. \n\n")
choice = input("Choose an option by pressing its number: ") choice = input("Choose an option by pressing its number: ")
@ -33,7 +33,7 @@ function dui()
game_end() game_end()
elseif choice == "2" elseif choice == "2"
print("The cops pull you over and smell malt liquor on your breath. print("\nThe cops pull you over and smell malt liquor on your breath.\n
You have gotten a DUI. \n") You have gotten a DUI. \n")
game_end() game_end()
@ -44,6 +44,6 @@ end
function leavehouse() function leavehouse()
print("You get in your car to find glass bottled Sun Drop. \n") print("\nYou get in your car to find glass bottled Sun Drop. \n\n")
end end