The project is a client server game, where the server can support multiple games at once, and each game contains up to 4 different clients. It uses TCP connections and a database to store the game states.
First, install pygame if it is not already installed.
'''bash pip install pygame '''
While in directory of the project:
'''bash python server\main.py '''
While in directory of the project
'''bash python client\main.py '''
'''python
import pygame import pygame_gui import atexit
import pickle #### dumps
import socket #### socket, AF_INET, SOCK_DGRAM, SOCK_STREAM, SHUT_RDWR
import selectors #### DefaultSelector
import weakref #### WeakValueDictionary
import threading #### Thread
import django