From 9bcc84a9f1f042038d1ca915d0530b192f0a7177 Mon Sep 17 00:00:00 2001 From: lindsay Date: Tue, 15 Aug 2017 04:30:57 -0700 Subject: [PATCH] added tennessee chapter --- src/quest-for-sundrop.jl | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/quest-for-sundrop.jl b/src/quest-for-sundrop.jl index 6c6ae67..13f9206 100755 --- a/src/quest-for-sundrop.jl +++ b/src/quest-for-sundrop.jl @@ -59,7 +59,6 @@ function main() print("Here are your options. \n") print("Option 1 - Go to your local Safeway. \n") - main() print("Option 2 - Go to the closest gas station. \n") choice = input("Choose an option by pressing its number: ") @@ -75,6 +74,23 @@ function main() else print(wrong_key_error) end + + print("Here are your options. \n") + print("Option 1 - Attempt to hitch a ride with a trucker. \n") + print("Option 2 - Purchase a plane ticket to Polaski, Tennessee. \n") + choice = input("Choose an option by pressing its number: ") + + if choice == "1" + print(tn_option1outcome_text) + elseif choice == "2" + print(tn_option2outcome_text) + + elseif choice == "q" + exit() + + else + print(wrong_key_error) + end end main() \ No newline at end of file