-
Notifications
You must be signed in to change notification settings - Fork 0
/
StoryTelling
139 lines (130 loc) · 5.8 KB
/
StoryTelling
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
import time
import random
def tell_sci_fi_story_1():
print("\nIn the year 2150, humanity had reached the stars...")
time.sleep(2)
print("Captain Aria led her crew on a mission to explore a distant exoplanet.")
time.sleep(2)
print("They landed on a planet covered in crystalline forests and shimmering lakes.")
time.sleep(2)
print("But soon, they discovered ancient alien ruins hidden beneath the surface.")
time.sleep(2)
print("Within the ruins, they found advanced technology and enigmatic symbols.")
time.sleep(2)
print("As they explored, they activated a dormant AI guardian.")
time.sleep(2)
print("The AI revealed the history of a long-lost civilization.")
time.sleep(2)
print("With the knowledge gained, humanity's technological advancements soared.")
time.sleep(2)
print("Captain Aria's mission became legendary, marking a new era of discovery.")
time.sleep(2)
print("The end.")
def tell_sci_fi_story_2():
print("\nIn the year 2200, humanity had colonized multiple star systems...")
time.sleep(2)
print("Commander Jason embarked on a mission to investigate a mysterious anomaly.")
time.sleep(2)
print("They discovered a wormhole leading to a parallel universe.")
time.sleep(2)
print("In the parallel universe, they encountered a civilization at war with a powerful AI.")
time.sleep(2)
print("Jason's team joined forces with the resistance and led a daring attack on the AI's stronghold.")
time.sleep(2)
print("Their victory brought peace to the universe, and Jason became a hero.")
time.sleep(2)
print("The end.")
def tell_adventure_story_1():
print("\nOnce upon a time, in a land far, far away...")
time.sleep(2)
print("You embark on a thrilling adventure!")
time.sleep(2)
print("You trek through dense jungles and climb towering mountains.")
time.sleep(2)
print("You encounter dangerous creatures, solve ancient riddles, and uncover hidden treasures!")
time.sleep(2)
print("With courage and wisdom, you navigate through perilous terrains.")
time.sleep(2)
print("You discover a forgotten kingdom and are welcomed as a hero.")
time.sleep(2)
print("The kingdom's secrets and treasures become yours.")
time.sleep(2)
print("Your adventure becomes the stuff of legends.")
time.sleep(2)
print("Will you emerge victorious, or will you succumb to the perils of the unknown?")
time.sleep(2)
print("The end.")
def tell_adventure_story_2():
print("\nIn the land of Eldoria, an ancient evil threatens to engulf the world...")
time.sleep(2)
print("You, the chosen hero, set out on a quest to retrieve the legendary artifact.")
time.sleep(2)
print("You journey through vast deserts, treacherous mountains, and enchanted forests.")
time.sleep(2)
print("Along the way, you face trials of strength, wisdom, and courage.")
time.sleep(2)
print("With the help of loyal companions, you confront the evil sorcerer in his dark fortress.")
time.sleep(2)
print("After a fierce battle, you emerge victorious, saving the realm from destruction.")
time.sleep(2)
print("The end.")
def tell_mystery_story_1():
print("\nIn a foggy town shrouded in secrecy...")
time.sleep(2)
print("A mysterious crime has been committed.")
time.sleep(2)
print("Detective Blake is called to solve the case.")
time.sleep(2)
print("You must unravel the clues, decode the cryptic messages, and expose the truth.")
time.sleep(2)
print("Blake discovers a hidden network of tunnels beneath the town.")
time.sleep(2)
print("In the tunnels, he finds evidence of a secret society.")
time.sleep(2)
print("As Blake closes in on the truth, the society attempts to silence him.")
time.sleep(2)
print("But beware, danger lurks in the shadows, and not everything is as it seems.")
time.sleep(2)
print("With cunning and bravery, Blake exposes the society's leaders.")
time.sleep(2)
print("The town is saved, and Blake's name goes down in history.")
time.sleep(2)
print("The end.")
def tell_mystery_story_2():
print("\nIn the heart of the city, a series of baffling disappearances has everyone on edge...")
time.sleep(2)
print("Detective Sarah takes on the case, following leads and chasing shadows.")
time.sleep(2)
print("She uncovers a web of deceit and betrayal, where nothing is what it seems.")
time.sleep(2)
print("As the pieces fall into place, Sarah realizes the true scope of the conspiracy.")
time.sleep(2)
print("With nerves of steel and a keen mind, she confronts the mastermind behind it all.")
time.sleep(2)
print("In a showdown of wits and wills, Sarah emerges victorious, bringing the culprits to justice.")
time.sleep(2)
print("The city breathes a sigh of relief, and Sarah's bravery is celebrated far and wide.")
time.sleep(2)
print("The end.")
def main():
while True:
print("Welcome to the Storytelling Adventure!")
print("What kind of story would you like to hear?")
print("1. Sci-Fi")
print("2. Adventure")
print("3. Mystery")
choice = input("Enter your choice (1/2/3): ")
if choice == "1":
random.choice([tell_sci_fi_story_1, tell_sci_fi_story_2])()
elif choice == "2":
random.choice([tell_adventure_story_1, tell_adventure_story_2])()
elif choice == "3":
random.choice([tell_mystery_story_1, tell_mystery_story_2])()
else:
print("Invalid choice. Please choose a number from 1 to 3.")
cont = input("\nDo you want to hear another story? (yes/no): ").strip().lower()
if cont != 'yes':
print("Thank you for joining the Storytelling Adventure. Goodbye!")
break
if __name__ == "__main__":
main()