leave house and dui functions

This commit is contained in:
lindsay 2017-08-14 23:46:08 -07:00
parent 649d223386
commit 3cd11d65f1

23
lib/functions.jl Normal file
View File

@ -0,0 +1,23 @@
function dui()
print("Here are your options. \n")
print("Option 1 - Go to your local Safeway. \n")
print("Option 2 - Go to the closest gas station. \n")
choice = input("Choose an option by pressing its number: ")
if choice == "1"
print("The cops pull you over and smell malt liquor on your breath.
You have gotten a DUI. \n")
main()
elseif choice == "2"
print("The cops pull you over and smell malt liquor on your breath.
You have gotten a DUI. \n")
main()
end
end
function leavehouse()
print("You get in your car to find glass bottled Sun Drop. \n")
end