You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# tabitha = game.Enemy("Tabitha", "An enormous spider with countless eyes and furry legs.")
130
-
# tabitha.set_conversation("Sssss....I'm so bored...")
131
-
# tabitha.set_weakness("book")
132
-
# ballroom.set_character(tabitha)
133
-
134
-
# cheese = game.Item("cheese")
135
-
# cheese.set_description("A large and smelly block of cheese")
136
-
# ballroom.set_item(cheese)
137
-
138
-
# book = game.Item("book")
139
-
# book.set_description("A really good book entitled 'Knitting for dummies'")
140
-
# dining_hall.set_item(book)
141
-
142
135
current_location=basement
143
136
previous_location=None
144
137
backpack= {}
145
138
146
139
147
-
whilehero.alive():
140
+
whileTrue:
148
141
time.sleep(0.9)
149
142
print('\n')
150
143
print(term.bold(f'HP: {hero.hp}'))
@@ -292,7 +285,15 @@ def main_game():
292
285
293
286
294
287
defprint_intro_screen():
295
-
print('It\'s Friday, 22:17 PM. Outside is dark. You are sitting in Sheptytsky Center Basement for 5th our now in attempt to finish your project. You can\'t go home, deadline ends in 13 minutes. You wasn\'t watching at clock for a couple of hour so eventually you don\'t know time. Finally, you did it, you finished you work and glanced at clock terrified. Time to go home. In order to win you should survive and manage to go to fountain')
288
+
'''
289
+
This function print main screen infomation and legend
290
+
'''
291
+
print('It\'s Friday.', 'You are sitting in Sheptytsky Center Basement for 5 hour now\
292
+
in attempt to finish your project.', 'You can\'t go home, deadline ends in 13 minutes but you still\
293
+
have some work to do.', 'You wasn\'t watching at clock for a couple of hour so you don\'t\
294
+
know time.', 'Finally, you did it, you finished you work and glanced at clock terrified:\
295
+
it\'s 22:17 PM.', 'Outside darkness covered the streets. Time to go home.\n',
296
+
'In order to win you should survive and arrive to Sheptytsky Park Fountain', sep='\n')
0 commit comments