예제 #1
0
 public MinPlayStrategy(ScoreCalculator scoreCalculator = null, ICardValueStrategy valueStrategy = null)
 {
     _scoreCalculator = scoreCalculator ?? new ScoreCalculator();
     _valueStrategy = valueStrategy ?? new AceLowFaceTenCardValueStrategy();
 }
예제 #2
0
 public ScoreCalculator(ICardValueStrategy valueStrategy = null, IOrderStrategy order = null)
 {
     _valueStrategy = valueStrategy ?? new AceLowFaceTenCardValueStrategy();
     _order = order ?? new StandardOrder();
 }