public void CreatePlayHand()
 {
     var cards = new List<Card>();
     DbEntity.Deck.Take(5).ToList().ForEach(c => cards.Add(new Card(c) { OwnedOriginallyBy = this.ConnectionId }));
     Hand = new Hand(cards);
 }
        public void CreatePlayHand()
        {
            var cards = new List<Card>();
            var rnd = new Random();

            for (int i = 0; i < 5; i++)
            {
                var cardStr = this.strength * (0.75 + rnd.NextDouble());
                var cardIds = CardImage.GetUpToStrength((int)cardStr);

                var cardId = cardIds.Any() ? cardIds[rnd.Next(0, cardIds.Length - 1)] : 1;

                cards.Add(new Card(new DbCard() { CardId = cardId }) { OwnedOriginallyBy = this.ConnectionId });
            }

            Hand = new Hand(cards);
        }