private void UpdatePoints(IGameHand hand) { if (hand.Winner == PlayerPosition.FirstPlayer) { this.firstPlayerPoints += hand.FirstPlayerCard.GetValue(); this.firstPlayerPoints += hand.SecondPlayerCard.GetValue(); } else { this.secondPlayerPoints += hand.FirstPlayerCard.GetValue(); this.secondPlayerPoints += hand.SecondPlayerCard.GetValue(); } this.firstPlayerPoints += (int)hand.FirstPlayerAnnounce; this.secondPlayerPoints += (int)hand.SecondPlayerAnnounce; }