Ejemplo n.º 1
0
        public DDBP9898PayoutTests()
        {
            var handAnalyzer = new HandAnalyzer(new IHandChecker[]
            {
                new HighCardChecker(),
                new PairChecker(),
                new TwoPairChecker(),
                new ThreeOfAKindChecker(),
                new StraitChecker(),
                new FlushChecker(),
                new FullHouseChecker(),
                new FourOfAKindChecker(),
                new StraitFlushChecker()
            });

            _payoutCalc = new VideoPokerPayoutCalculator(handAnalyzer);

            _payTable = StandardPayTables.DDB_9898;
        }
Ejemplo n.º 2
0
 public VideoPokerController(VideoPokerPayoutCalculator payoutCalculator)
 {
     _deck             = new Deck();
     _payoutCalculator = payoutCalculator;
 }