game class is now separate from db load and board organization. game initializes from a dictionary with the full game state.
This commit is contained in:
@@ -2,8 +2,12 @@ class Constants:
|
||||
green = (106, 171, 115)
|
||||
red = (219, 92, 92)
|
||||
host = "lukesau.com"
|
||||
# host = "127.0.1.1"
|
||||
port = 8328
|
||||
header_size = 1024
|
||||
text_format = "utf-8"
|
||||
small_window_size = (300, 150)
|
||||
medium_window_size = (300, 500)
|
||||
large_window_size = (1440, 900)
|
||||
header_size = 512
|
||||
buffer_size = 4096
|
||||
encoding = "utf-8"
|
||||
|
||||
Reference in New Issue
Block a user