added intro, leaving house
This commit is contained in:
parent
8dbc035de4
commit
dd84c030da
@ -9,6 +9,8 @@ Description: Main game file
|
||||
|
||||
include("../lib/io-extra.jl")
|
||||
include("../lib/story.jl")
|
||||
include("../lib/functions.jl")
|
||||
|
||||
|
||||
function main()
|
||||
test = "
|
||||
@ -19,8 +21,49 @@ function main()
|
||||
print("-----------------------------------\n")
|
||||
print("| The Quest for Sun Drop |\n")
|
||||
print(" ----------------------------------\n")
|
||||
print("By: Justin and Lindsay\n")
|
||||
print("By: Justin and Lindsay\n\n")
|
||||
|
||||
print(intro_text)
|
||||
print("Here are your options. \n")
|
||||
print("Option 1 - Go back to sleep. \n")
|
||||
print("Option 2 - Check the fridge. \n")
|
||||
choice = input("Choose an option by pressing its number: ")
|
||||
|
||||
if choice == "1"
|
||||
print(intro_option1outcome_text)
|
||||
main()
|
||||
elseif choice == "2"
|
||||
print(intro_option2outcome_text)
|
||||
end
|
||||
print("Here are your options. \n")
|
||||
print("Option 1 - Drink the 40 oz King Cobra. \n")
|
||||
print("Option 2 - Drink the 2 liter bottle of Sun Drop. \n")
|
||||
print("Option 3 - Drink the purple drink in order to indulge your desire to have
|
||||
your Dave Chappelle moment. \n")
|
||||
choice = input("Choose an option by pressing its number: ")
|
||||
|
||||
if choice == "1"
|
||||
print(fridge_option1outcome_text)
|
||||
leavehouse()
|
||||
dui()
|
||||
elseif choice == "2"
|
||||
print(fridge_option2outcome_text)
|
||||
leavehouse()
|
||||
elseif choice == "3"
|
||||
print(fridge_option3outcome_text)
|
||||
main()
|
||||
end
|
||||
|
||||
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(car_option1outcome_text)
|
||||
elseif choice == "2"
|
||||
print(car_option2outcome_text)
|
||||
end
|
||||
|
||||
println(test, "\n")
|
||||
end
|
||||
main()
|
Loading…
x
Reference in New Issue
Block a user