From 58ebd3bc0f00c532e97e9a5571471ffab87934ba Mon Sep 17 00:00:00 2001 From: AL-LCL Date: Fri, 19 May 2023 10:39:49 +0200 Subject: GOD-VIEW --- host.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 host.py (limited to 'host.py') diff --git a/host.py b/host.py new file mode 100644 index 0000000..dab3a6b --- /dev/null +++ b/host.py @@ -0,0 +1,29 @@ +# Lines: ~3700 (+ 386 Shared) + 2730 (GUI) +from server.state import ServerStatic +from shared.state import Static + +Static.setup() +ServerStatic.setup() + +from server.settings import Settings +Settings.set_environment() + +from server.socket import ServerSocket +from server.error import ServerError +from server.console import Console +from server.parse import Parse + + +class Server: + + def __init__(self): + Console.init() + + @ServerError.critical + def run(self): + ServerSocket().threads() + Parse.stdin() + + +if __name__ == '__main__': + Server().run() -- cgit v1.2.3