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:
2023-05-01 15:19:06 -07:00
parent ce51e5c35c
commit 2f613d0dbb
11 changed files with 448 additions and 358 deletions

View File

@@ -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"