server refactor

This commit is contained in:
MeexReay 2024-12-22 00:59:32 +03:00
parent f3c592b6d8
commit 3a6df05fb7
16 changed files with 801 additions and 341 deletions

16
server/config.py Normal file
View file

@ -0,0 +1,16 @@
import sys
HOST,PORT = sys.argv[1].split(":")
PORT = int(PORT)
COLORS = ["#d22", "#2d2", "#22d", "#dd2", "#2dd", "#d2d", "#ddd"]
SPAWN = (0, 0)
REACH_DISTANCE = 15
BLOCK_TYPES = {
"normal": "#555",
"jump_boost": "#2d2",
"killer": "#d22",
}