Beispiel #1
0
        public override double CalculateWinnings(Pocket pocket)
        {
            double winnings = 0 - Amount;

            if (pocket.IsZeroOrDoubleZero())
            {
                return(winnings);
            }

            if (pocket.Number >= _startNrOfRow && pocket.Number <= _startNrOfRow + 2)
            {
                winnings += Amount + Amount * WinningsMultiplier;
            }

            return(winnings);
        }
        public override double CalculateWinnings(Pocket pocket)
        {
            double winnings = 0 - Amount;

            if (pocket.IsZeroOrDoubleZero())
            {
                return(winnings);
            }

            if (CheckIfGuessedCorrectly(_range, pocket.Number))
            {
                winnings += Amount + Amount * WinningsMultiplier;
            }

            return(winnings);
        }
Beispiel #3
0
        public override double CalculateWinnings(Pocket pocket)
        {
            double winnings = 0 - Amount;

            if (pocket.IsZeroOrDoubleZero())
            {
                return(winnings);
            }

            if (_startNrOfLine + 5 <= pocket.Number + 5 && _startNrOfLine >= pocket.Number)
            {
                winnings += Amount + Amount * WinningsMultiplier;
            }

            return(winnings);
        }
Beispiel #4
0
        public override double CalculateWinnings(Pocket pocket)
        {
            double winnings = 0 - Amount;

            if (pocket.IsZeroOrDoubleZero())
            {
                return(winnings);
            }

            if (pocket.Number == _pair.Number1 || pocket.Number == _pair.Number2)
            {
                winnings += Amount + Amount * WinningsMultiplier;
            }

            return(winnings);
        }
Beispiel #5
0
        public override double CalculateWinnings(Pocket pocket)
        {
            double winnings = 0 - Amount;

            if (pocket.IsZeroOrDoubleZero())
            {
                return(winnings);
            }

            if (CheckIfColumnWasGuessed(_column, Pocket.ColumnOfPocket(pocket.Number)))
            {
                winnings += Amount + Amount * WinningsMultiplier;
            }

            return(winnings);
        }
        public override double CalculateWinnings(Pocket pocket)
        {
            double winnings = 0 - Amount;

            if (pocket.IsZeroOrDoubleZero())
            {
                return(winnings);
            }

            var highBet = _highLow == HighLow.High && pocket.Number > 18;
            var lowBet  = _highLow == HighLow.Low && pocket.Number <= 18;

            if (highBet || lowBet)
            {
                winnings += Amount * 2;
            }

            return(winnings);
        }
        public override double CalculateWinnings(Pocket pocket)
        {
            double winnings = 0 - Amount;

            if (pocket.IsZeroOrDoubleZero())
            {
                return(winnings);
            }

            if (pocket.Number == _leftTopCornerNr ||
                pocket.Number == _leftTopCornerNr + 1 ||
                pocket.Number == _leftTopCornerNr + 3 ||
                pocket.Number == _leftTopCornerNr + 4)
            {
                winnings += Amount + Amount * WinningsMultiplier;
            }

            return(winnings);
        }