public void RuleResultActions(List <RuleResult> ruleResults) { if (ruleResults.Any(x => x.identifier == RuleResultIdentifiers.SmallOverBigRuleResultIdentifier && !x.result)) //there is SmallOverBigRule and result is false { gameContoller.TurnFailed(); return; } if (ruleResults.Any(x => x.identifier == RuleResultIdentifiers.SmallOverBigRuleResultIdentifier && x.result)) //there is SmallOverBigRule and result is true { gameContoller.TurnSuccess(); } if (ruleResults.Any(x => x.identifier == RuleResultIdentifiers.GameWinRuleResultIdentifier && x.result)) //there is GameWinnRule and result is true { gameContoller.GameWon(); return; } }