-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.py
47 lines (45 loc) · 1.23 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
import time, os, platform, sys, Clear, Level1, WordCore, UI
from json_system import *
from ColorSplash import *
from Settings import *
def intro(): #The intro to the game
print(Reset, end='')
Clear.clear()
with open("Globals.txt", 'r') as file:
variables = json.load(file)
if variables["color"] != 0:
UI.necro_color()
print(Green_Blackxx, end='')
else:
UI.necro()
print("\n")
WordCore.word_corex("DEVELOPER |", "78 Alpha\n")
print("\n")
time.sleep(0.5)
WordCore.word_corex("CONTINUE |", "Start the game from previous save")
print("\n")
time.sleep(0.5)
WordCore.word_corex("NEW |", "Create a new game")
print("\n")
time.sleep(0.5)
WordCore.word_corex("SETTINGS |", "Change game settings")
print("\n")
time.sleep(0.5)
WordCore.word_corex("EXIT |", "Exit the application")
print("\n")
time.sleep(0.5)
action = input(str("What would you like to do: "))
if action == "CONTINUE":
Level1.Save_Check()
elif action == "NEW":
load_3()
Level1.Save_Check()
elif action == "SETTINGS":
settings()
intro()
elif action == "EXIT":
Clear.clear()
exit()
else:
intro()
intro()