Exemple #1
0
 protected bool HasStraight(Hand hand) =>
 hand.Distinct().Count() == 5 &&
 hand.Last().Rank - hand.First().Rank == 4;