-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
50 lines (31 loc) · 871 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# AUTHOR :
# DATE :
# --- DOCSTRING -------------------
'''
Executeable Main Document of the
"PythonRPG"
'''
# --- IMPORT ----------------------
from Modul import formating, submenus
from time import sleep
# --- DECLARATION -----------------
choise = False # takes user input & error status
# --- SETUP -----------------------
# --- MAIN ------------------------
while 'MAIN_LOOP':
choise = (formating.menu(choise))
if choise == '0': # Exit
break
elif choise == '1': # Continue
submenus.continueGame()
elif choise == '2': # New Game
submenus.newGame()
elif choise == '3': # Load Game
submenus.loadGame()
elif choise == '4': # Settings
submenus.settings()
else:
choise = True # error message
# --- SHUT DOWN -------------------
exit()
# --- comment ---------------------