-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
74 lines (55 loc) · 1.96 KB
/
main.py
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
# imports
from typewriter import *
from pyfiglet import figlet_format
import os
from locations import *
from colorama import init
from termcolor import colored
typewriterEff("""It is a cold, misty day in the Himalaya Mountains and you are trying to hike to the peak of Mount Everest, the highest mountain in the world.
You are with your companions Peter and Maxwell.""")
typewriterEff("""
Peter: 'Wait.. """)
sleep(0.75)
typewriterEff("""what is that sound from the distance?'""")
sleep(0.5)
typewriterEff("""
Maxwell: 'I have no idea! But it does not sound good.'""")
sleep(0.5)
typewriterEff("""
You're looking up in the distance and you see... """)
sleep(1)
print("AN AVALANCHE!")
sleep(0.5)
typewriterEff("""
Suddenly everything turns white... """)
sleep(0.5)
typewriterEff("""and you only hear Peter and Maxwell yelling!""")
sleep(0.5)
typewriterEff("""
Then..""")
sleep(1)
typewriterEff(""" everything turns dark for a few seconds...""")
sleep(0.5)
typewriterEff("""
You open your eyes and see a bright light, the sun is shining and you realise that you've been out cold for a very long time.""")
sleep(0.5)
os.system('cls')
typewriterEffTitle(figlet_format("The Avalanche", font="big"))
typewriterEff("""
Your mouth is dry and you are hungry.
The backpack you took with you is with you, it survived the avalanche.
Maybe there is something in your backpack which might be useful.
""")
print(colored("---------------------------", "blue"))
print(colored("CONTROLS:", "green"))
print(colored("north", "red"))
print(colored("east", "red"))
print(colored("south", "red"))
print(colored("west", "red"))
print(colored("also commands like: take and use.\n", "red"))
print(colored("You need to find the other commands out by yourself.\n", "red"))
print(colored("Your backpack is always with you.\n", "red"))
print(colored("Good luck! -Ahmet & Koray.", "yellow"))
print(colored("---------------------------", "blue"))
input(colored("Press a key to start the game..", "green"))
Startpoint()