public bool IsPlayable(HanabiCard card)
 {
     if (PlayedCards.Count(c => c.Color == card.Color && c.Number == card.Number) >= 1)
     {
         return(false);
     }
     else if (PlayedCards.Count(c => c.Color == card.Color && c.Number == (card.Number - 1)) >= 1)
     {
         return(true);
     }
     return(card.Number == 1);
 }
 public bool IsDangerCard(HanabiCard card)
 {
     return(PlayedCards.Count(c => c.Color == card.Color && c.Number == card.Number) == 1);
 }