private static void GetDiePossibilities() { diePossibilies = new List<Die>(); for(int s1 = 0; s1<=9;s1++) { for(int s2 = s1 + 1; s2 <=9; s2++) { for(int s3 = s2 + 1; s3 <=9; s3++) { for(int s4 = s3+1;s4<=9; s4++) { for(int s5=s4+1; s5<=9; s5++) { for(int s6= s5+1; s6<=9; s6++) { Die die = new Die(s1,s2,s3,s4,s5,s6); diePossibilies.Add(die); } } } } } } }
public TwoDiceRoll(Die d1, Die d2) { Die1 = d1; Die2 = d2; }