public GameSession(TcpServer server, ChessGameManagerService gameManager) : base(server) { _gameManager = gameManager; _protocol = new RemoteInstructionProtocol(gameManager.SharedGameState); }
public GameClient(string address, int port, SharedGameState gameState) : base(address, port) { _gameState = gameState; _protocol = new RemoteInstructionProtocol(gameState); }