-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
main.py
26 lines (20 loc) · 883 Bytes
/
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
from module import run_game
INTRO = '''РАССЧИТАЙ И ПОБЕДИ!
Загрузка...
Твоя цель — за 5 ходов набрать такое количество очков урона противнику,
которое попадет в диапазон +– 10 от значения здоровья противника.
Значение здоровья противника генерируется случайным образом
в диапазоне от 80 до 120 очков.
В твоём распоряжении три вида атак:
lite — урон от 2 до 5 очков;
mid — урон от 15 до 25 очков;
hard — урон от 30 до 40 очков.
ВПЕРЁД К ПОБЕДЕ!!!
'''
def main():
print(INTRO)
replay = True
while replay:
replay = run_game()
if __name__ == '__main__':
main()