From 3cd11d65f11eb0446d8809f52718ac10535265e7 Mon Sep 17 00:00:00 2001 From: lindsay Date: Mon, 14 Aug 2017 23:46:08 -0700 Subject: [PATCH] leave house and dui functions --- lib/functions.jl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lib/functions.jl diff --git a/lib/functions.jl b/lib/functions.jl new file mode 100644 index 0000000..7621773 --- /dev/null +++ b/lib/functions.jl @@ -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 +