Exemple #1
0
        public (bool, int) choose6Numbers()
        {
            string        menu2      = $"{leftStart}Which 6 numbers would you like to bet on?";
            List <string> sixNumbers = new List <string>()
            {
                $"{leftStart}1 through 6",
                $"{leftStart}4 through 9",
                $"{leftStart}7 through 12",
                $"{leftStart}10 through 15",
                $"{leftStart}13 through 18",
                $"{leftStart}16 through 21",
                $"{leftStart}19 through 24",
                $"{leftStart}22 through 27",
                $"{leftStart}25 through 30",
                $"{leftStart}28 through 33",
                $"{leftStart}31 through 36",
            };

            Console.SetCursorPosition(0, 10);
            Console.ForegroundColor = ConsoleColor.Magenta;
            Console.WriteLine(menu2);

            int  selected = 0;
            bool finished = false;

            ListNavigation list = new ListNavigation(sixNumbers, 12, finished);

            (finished, selected) = list.scrollList();
            return(finished, selected);
        }
Exemple #2
0
        public (bool, int) chooseStreet()
        {
            string        menu2     = $"{leftStart}Which street would you like to bet on?";
            List <string> evenOrOdd = new List <string>()
            {
                $"{leftStart}1, 2, 3",
                $"{leftStart}4, 5, 6",
                $"{leftStart}7, 8, 9",
                $"{leftStart}10, 11, 12",
                $"{leftStart}13, 14, 15",
                $"{leftStart}16, 17, 18",
                $"{leftStart}19, 20, 21",
                $"{leftStart}22, 23, 24",
                $"{leftStart}25, 26, 27",
                $"{leftStart}28, 29, 30",
                $"{leftStart}31, 32, 33",
                $"{leftStart}34, 35, 36",
            };

            Console.SetCursorPosition(0, 10);
            Console.ForegroundColor = ConsoleColor.Magenta;
            Console.WriteLine(menu2);

            int  selected = 0;
            bool finished = false;

            ListNavigation list = new ListNavigation(evenOrOdd, 12, finished);

            (finished, selected) = list.scrollList();
            return(finished, selected);
        }
Exemple #3
0
        public (bool, int) chooseBetType()
        {
            string        menu2    = "What would you like to bet on? (ESC to cancel)";
            List <string> betTypes = new List <string>()
            {
                $"{leftStart}Evens / Odds\t\t\t\t1:1",
                $"{leftStart}Reds / Blacks\t\t\t\t1:1",
                $"{leftStart}Lows / Highs\t\t\t\t1:1",
                $"{leftStart}Dozens\t\t\t\t\t2:1",
                $"{leftStart}Columns (12 Numbers)\t\t\t2:1",
                $"{leftStart}6 Numbers (2 Adjacent Rows)\t\t5:1",
                $"{leftStart}Corner (4 Adjacent Numbers)\t\t8:1",
                $"{leftStart}Street (Row of 3 Numbers)\t\t11:1",
                $"{leftStart}Split (2 Adjacent Numbers)\t\t17:1",
                $"{leftStart}Single Number\t\t\t\t35:1"
            };

            Console.SetCursorPosition((Console.WindowWidth - menu2.Length) / 2, 6);
            Console.ForegroundColor = ConsoleColor.Magenta;
            Console.WriteLine(menu2);

            int  selected = 0;
            bool finished = false;

            ListNavigation list = new ListNavigation(betTypes, 15, finished);

            (finished, selected) = list.scrollList();
            return(finished, selected);
        }
Exemple #4
0
        public (bool, int) splitZeros()
        {
            string        menu2   = $"{leftStart}{leftStart}\t\t   Slit 0 and 00?";
            List <string> yesOrNo = new List <string>()
            {
                $"{leftStart}{leftStart}\t\t\tYes",
                $"{leftStart}{leftStart}\t\t\tNo",
            };

            Console.SetCursorPosition(0, 15);
            Console.ForegroundColor = ConsoleColor.Magenta;
            Console.WriteLine(menu2);

            int  selected = 0;
            bool finished = false;

            ListNavigation list = new ListNavigation(yesOrNo, 17, finished);

            (finished, selected) = list.scrollList();
            return(finished, selected);
        }
Exemple #5
0
        public (bool, int) chooseLowsOrHighs()
        {
            string        menu2     = $"{leftStart}Lows or Highs?";
            List <string> lowsHighs = new List <string>()
            {
                $"{leftStart}Lows",
                $"{leftStart}Highs",
            };

            Console.SetCursorPosition(0, 15);
            Console.ForegroundColor = ConsoleColor.Magenta;
            Console.WriteLine(menu2);

            int  selected = 0;
            bool finished = false;

            ListNavigation list = new ListNavigation(lowsHighs, 17, finished);

            (finished, selected) = list.scrollList();
            return(finished, selected);
        }
Exemple #6
0
        public (bool, int) chooseRedOrBlack()
        {
            string        menu2      = $"{leftStart}Red or Black?";
            List <string> redsBlacks = new List <string>()
            {
                $"{leftStart}Red",
                $"{leftStart}Black",
            };

            Console.SetCursorPosition(0, 15);
            Console.ForegroundColor = ConsoleColor.Magenta;
            Console.WriteLine(menu2);

            int  selected = 0;
            bool finished = false;

            ListNavigation list = new ListNavigation(redsBlacks, 17, finished);

            (finished, selected) = list.scrollList();
            return(finished, selected);
        }
Exemple #7
0
        public (bool, int) chooseEvenOrOdd()
        {
            string        menu2     = $"{leftStart}Evens or Odds?";
            List <string> evenOrOdd = new List <string>()
            {
                $"{leftStart}Evens",
                $"{leftStart}Odds",
            };

            Console.SetCursorPosition(0, 15);
            Console.ForegroundColor = ConsoleColor.Magenta;
            Console.WriteLine(menu2);

            int  selected = 0;
            bool finished = false;

            ListNavigation list = new ListNavigation(evenOrOdd, 17, finished);

            (finished, selected) = list.scrollList();
            return(finished, selected);
        }
Exemple #8
0
        public (bool, int) chooseColumn()
        {
            string        menu2  = $"{leftStart}Which column would you like to bet on?";
            List <string> column = new List <string>()
            {
                $"{leftStart}A: 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34",
                $"{leftStart}B: 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35",
                $"{leftStart}C: 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36",
            };

            Console.SetCursorPosition(0, 15);
            Console.ForegroundColor = ConsoleColor.Magenta;
            Console.WriteLine(menu2);

            int  selected = 0;
            bool finished = false;

            ListNavigation list = new ListNavigation(column, 17, finished);

            (finished, selected) = list.scrollList();
            return(finished, selected);
        }
Exemple #9
0
        public (bool, int) chooseDozens()
        {
            string        menu2  = $"{leftStart}Which dozen would you like to bet on?";
            List <string> dozens = new List <string>()
            {
                $"{leftStart}1 - 12",
                $"{leftStart}13 - 24",
                $"{leftStart}25 - 36",
            };

            Console.SetCursorPosition(0, 15);
            Console.ForegroundColor = ConsoleColor.Magenta;
            Console.WriteLine(menu2);

            int  selected = 0;
            bool finished = false;

            ListNavigation list = new ListNavigation(dozens, 17, finished);

            (finished, selected) = list.scrollList();
            return(finished, selected);
        }