server refactor
This commit is contained in:
parent
f3c592b6d8
commit
3a6df05fb7
16 changed files with 801 additions and 341 deletions
16
server/config.py
Normal file
16
server/config.py
Normal 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",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue