Skip to content
Permalink
Browse files
Update StoryD7.py
  • Loading branch information
utowarej committed Oct 9, 2020
1 parent e47b1c9 commit 0708a39e2d2c0e3858d78ad985a0b4fe9f0d424e
Showing 1 changed file with 164 additions and 5 deletions.
@@ -1,3 +1,128 @@
def dansStory():
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? ")
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? ")
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.")
print("Continuing the story...")

else:
print("Continuing the story...")
print("He was the leader of a small island that was surrounded by others in a big ocean basin")
print("Having the same routines day after day he was getting tired of it so he decided to challenge himself and leave the island to make a new discovery")
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? ")
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 ")
if Ans4 == "1":
print("")
print("North wasn´t the easiest path for him but it wasn't impossible either.")
print("This wasy he was sure he would face difficulties and his brothers would have to deal with a lot more difficulties. It would be more adventurous and challenging.")
print("Continuing the story...")
elif Ans4 == "2":
print("")
print("South was a bit easier but it had some difficulties coming with it as well.")
print("It wasn´t going to be as simple as living his normal day to day life but some stories he had heard and maps made by previous attempts would help him a lot having a safer trip.")
print("Continuing the story...")
elif Ans4 == "3":
print("")
print("North wasn´t the easiest path for him but it wasn't impossible either.")
print("This wasy he was sure he would face difficulties and his brothers would have to deal with a lot more difficulties. It would be more adventurous and challenging.")
print("South was a bit easier but it had some difficulties coming with it as well.")
print("It wasn´t going to be as simple as living his normal day to day life but some stories he had heard and maps made by previous attempts would help him a lot having a safer trip.")
print("Continuing the story...")
else:
print("Continuing the story...")
else:
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("and talk to his wife Ana...")
if Ans5 == "1":
print("")
print("Ana, I know you don't like me leaving and going on adventures but I gave a lot of thought into it and I know I am able to do this and bring something home that would make you proud. I´ll be leaving next week and my brothers will come with me... We'll be going to South"
"South? I don't know what do you expect to discover Ricardo, I hope you're sure about this..."
"I believe that there is something on this planet that no one found yet and with this journey I would be able to go down is history over the years. Please trust me Ana!"
"Ok, my dear, take care of yourself and your brothers and may God be with you.")
elif Ans5 == "2":
print("")
print("Ana, I know you don't like me leaving and going on adventures but I gave a lot of thought into it and I know I am able to do this and bring something home that would make you proud. I´ll be leaving next week and my brothers will come with me... We'll be going to North"
"North? I don't know what do you expect to discover Ricardo, I hope you're sure about this..."
"I believe that there is something on this planet that no one found yet and with this journey I would be able to go down is history over the years. Please trust me Ana!"
"Ok, my dear, take care of yourself and your brothers and may God be with you.")
else:
print("Continuing the story...")
print("")
print("After the talk...")
print("He ordered the workers of the island to build in a working week a boat that could carry at most four people and some supplies for the trip.")
print("After the boat was finished, they started the journey of their lifetime which they expected to be the best one. In the middle of the ocean,")
print("when it was getting dark, a storm was coming towards them.")
print("")
print("My fellow brothers don't panic! Everything will be fine! Paul turn the sail to the left!")
print("But Ricardo, we don't stand a chance of what's coming! This will be messed up in many ways.")
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'")
print("")
print("After the decision...")
dansStory()

# gigs starts

import story
import os
import msvcrt as m
# the logic for the sotry...

# help function to display more informating about links in the story

# get user input

# clear the screen
def clear():
print('\nPress enter to continue')
m.getch()
os.system('cls')


# main
def main():
print(story.chairStory)
print(story.context)
selectContect = (input('Please select A,B,C,D...'))
if selectContect == 'a':
print(story.screen)
elif selectContect == 'b':
print(story.timeTravel)
elif selectContect == 'c':
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)
print(story.decision2)
print(story.con)
main()

# joel
next=False
while next==False:
#ensures the correct option leads to the next section
@@ -21,7 +146,45 @@ while next==False:
else:
print("\nPlease ensure the exact word is used(including case)")
#makes sure choice is valid
###----ENDING----###



#mateuszs code
# Put story into here
#Mateusz code
def views():
places = ['palace[1]','science museum[2]','art museum[3]','temple[4]','park[5]']
while len(places) != 0:
print('\nThere are so many sights and scenery in Tokyo so theres so much to see and do.')
print('\nplease choose a number')
print('\n%s' % places)
go_to = input('\ngo to: ')
if go_to == '1':
print('\nThe Imperial Palace was his best bet to see what had changed. Crossing the Seimon Ishibashi bridge, he found the Emperor of Japan welcoming guests into his hall. There must’ve been a party; why not go and relax after all the hard work?')
proceed = input('\ngo and relax at the party[1], Go see more sights[2] ')
print(proceed)
if proceed == '1' and 'palace[1]' in places :
print('\nRicardo went inside and saw the beautiful golden interior. It must’ve been redesigned – robots raced across the floors to deliver food to esteemed guests, dragons would fly across the room and refill glasses and cup. It was fascinating.')
places.remove('palace[1]')
elif go_to == '2' and 'science museum[2]' in places:
print('\nHe decided to visit the National Museum of Nature and Science and compare his notes to the historian’s views on the ancient world. There were hundreds of artifacts and trinkets and so far, the historians and had got most of it bang on.')
places.remove('science museum[2]')
elif go_to == '3' and 'art museum[3]' in places:
print('\nThe National Museum of Western Art was going to be very weird and wonderful. Comparing 1950s New York to the items on display in this museum would be fun to see. Over 100 years worth of knowledge was stored in these display cabinets. He saw the newspaper he had read the day he first used the time machine. He was impressed by the way Japan had developed so fast; collecting all these old items whilst simultaneously expanding on their technological front.')
places.remove('art museum[3]')
elif go_to == '4' and 'temple[4]' in places:
print('\nSensō-ji Temple was a masterpiece and also Tokyo’s most famous shrine. The Asakusa district was famous for its various festivals such as the Sanja Matsuri.')
proceed = input('\ngo to the festival[1], go see more sights[2]: ')
if proceed == '1':
print('\nThe festival was beautiful: lights shining everywhere, traditional dancing and music from as far as the eye could see.')
places.remove('temple[4]')
elif go_to == '5' and 'park[5]' in places:
print('\nHe travelled to Ueno Park and zoo. The greenery was astoundingly serene, covering the whole park. The zoo was filled with animals from all around the globe including polar bears, African elephants and camels.')
places.remove('park[5]')
views()


###----ENDING----joel###
next=False
while next==False:

@@ -44,8 +207,4 @@ while next==False:
else:
print("\nPlease ensure that a valid number is entered exact word is used(including case)")
print("""\nThank you for playing
___THE END___""")



0 comments on commit 0708a39

Please sign in to comment.