Skip to content
Permalink
Browse files
finished one function
  • Loading branch information
sherrind committed Oct 9, 2020
2 parents 3fc9e42 + 82022a8 commit 1c139f4397fdd54329ffdfcad76147b94a7de9cb
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
@@ -10,14 +10,14 @@ def clear():
def mainStory():
listOfYes =["Yes", "yes", "Yes please", "yes please", "Yeah", "yeah"]
playerName = input("Hello, what is your name? ")
Ans1 = input("Welcome " + playerName + " would you like to take take part in our story? ")
Ans1 = input("Welcome " + playerName + " would you like to take take part in our story? (yes/no)")
if Ans1 in listOfYes:
print("Thank you, enjoy!")
else:
print("Sorry to hear that, goodbye")
exit()
print("In the seventh century, in a distant place from popular civilization there was a man named Ricardo.")
Ans2 = input("Would you like to know more about Ricardo? ")
Ans2 = input("Would you like to know more about Ricardo?(yes/no) ")
if Ans2 in listOfYes:
print("")
print("Ricardo was a very respectful man for his kindness with other people and his authority when something was getting serious. He was a family man with 3 little brothers and would never do something that would hurt them.")
@@ -30,9 +30,9 @@ def mainStory():
print("Something new that nobody had discovered before")
print("He had two directions to go to. It was a decision between North and South")
print("")
Ans3 = input("Would you like to know more about the 2 routes ahead? ")
Ans3 = input("Would you like to know more about the 2 routes ahead? (yes/no) ")
if Ans3 in listOfYes:
Ans4 = input(" Please select an option on what you wish to know about: 1) North, 2) South, 3) North and South ")
Ans4 = input(""" Please select an option on what you wish to know about: \n1) North \n2) South, \n3) North and South\n """)
if Ans4 == "1":
print("")
print("North wasn´t the easiest path for him but it wasn't impossible either.")
@@ -56,8 +56,8 @@ def mainStory():
print("Continuing the story...")
print("")
print("He took his time, thought about it and one day he finally decided to go ")
print("1) Calm and easy (South)" + " or " + "2) Adventurous and hard (North)")
Ans5 = input("So what path do you choose? ")
print("""1) Calm and easy (South) \n2) Adventurous and hard (North)""")
Ans5 = input("So what path do you choose?\n ")
print("and talk to his wife Ana...")
if Ans5 == "1":
print("")
@@ -84,7 +84,7 @@ def mainStory():
print("")
print("Eventually, the storm appeared over them and the boat was collapsing due to strong waves of the ocean.")
print("At that moment he could see his brothers struggling but he felt helpless... He had a difficult choice to make.")
Ans6 = input("Are you going to 'risk your life to save your brother', or 'stay where you are and keep holding onto safety'")
Ans6 = input("""Are you going to\n1)'risk your life to save your brother'\n2)'stay where you are and keep holding onto safety'\n""")
print("")
print("After the decision...")
#Giggs
@@ -99,13 +99,19 @@ def mainStory():
print(story.sept)
else:
pass
clear()
print(story.decision)
a = int(input('Please select 1 or 2...'))
if a == 1:
print(story.leave)
elif a == 2:
print(story.back)
isNumber = False
while isNumber == False:
try:
clear()
print(story.decision)
a = int(input('Please select 1 or 2...'))
if a == 1:
print(story.leave)
elif a == 2:
print(story.back)
isNumber = True
except ValueError:
pass
print(story.decision2)
print(story.con)
# joel
BIN +244 Bytes (100%) __pycache__/story.cpython-38.pyc
Binary file not shown.
@@ -33,7 +33,7 @@ chairStory = '''
'''

#links to other pages
# black holographic screen - screen
# black holographic screen - screen
screen ='''
A holographic screen is a two dimensional display technology that uses coated
glass media for the projection surface of a video projector.
@@ -96,7 +96,6 @@ leave = '''
Enjoy a luxurious life years to come. Evolve and live better and advanced life without family.
Always having the guilt of leaving the family in other era.'''


# conclusion

con = '''
@@ -115,13 +114,9 @@ con = '''
He then travells again...
'''



context = '''
would you like to find out anymore information about any of the following?
A) The Screen B) Time Travel
c) 19th Of September D) Continue With The Choice
'''


'''

0 comments on commit 1c139f4

Please sign in to comment.