diff --git a/StoryD7.py b/StoryD7.py index eb877a4..3de6449 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -1,3 +1,90 @@ +main() +======= + +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 @@ -38,5 +125,6 @@ def main(): print(story.con) -main() + +