Beispiel #1
0
 public static int Sixes(this YatzyDice dice)
 {
     return(dice.FilteredSumBy(6));
 }
Beispiel #2
0
 public static int Fives(this YatzyDice dice)
 {
     return(dice.FilteredSumBy(5));
 }
Beispiel #3
0
 public static int Fours(this YatzyDice dice)
 {
     return(dice.FilteredSumBy(4));
 }
Beispiel #4
0
 public static int Threes(this YatzyDice dice)
 {
     return(dice.FilteredSumBy(3));
 }
Beispiel #5
0
 public static int Twos(this YatzyDice dice)
 {
     return(dice.FilteredSumBy(2));
 }
Beispiel #6
0
 public static int Ones(this YatzyDice dice)
 {
     return(dice.FilteredSumBy(1));
 }