private void HandleRequestStatValue(TcpRequest request)
        {
            var statValueRequest = JsonConvert.DeserializeObject <StatValueRequest>(request.Body);

            _logger.LogMessage($"Handling Stat Value request");

            var player = GetPlayer(statValueRequest.Deck);
            var stat   = GetStat(player, statValueRequest.StatType);

            var response = new StatValueResponse {
                Value = stat.Value
            };

            Send(request.Socket, response.ToString());
        }
        private void HandleChangeStatValue(TcpRequest request)
        {
            var changeStatValueRequest = JsonConvert.DeserializeObject <ChangeStatValueRequest>(request.Body);

            _logger.LogMessage($"Handling Change Stat Value request");

            var player = GetPlayer(changeStatValueRequest.Deck);
            var stat   = GetStat(player, changeStatValueRequest.StatType);

            if (changeStatValueRequest.Increase)
            {
                stat.Increase.Execute(null);
            }
            else
            {
                stat.Decrease.Execute(null);
            }

            var response = new StatValueResponse {
                Value = stat.Value
            };

            Send(request.Socket, response.ToString());
        }