private static int ScoreSingle(int die, Roll roll, int score) { if (roll.Any(r => r == die)) { return(score); } return(0); }
public int Score(Roll roll) { if (roll.Any(r => r == _die)) { return(_score); } return(0); }
private static int ScoreSingle(int die, Roll roll, int score) { if (roll.Any(r => r == die)) { return(score); } return(0); }
public int Score(Roll roll) { if (roll.Any(r => r == _die)) { return(_score); } return(0); }