Exemplo n.º 1
0
        public static int Numbers()
        {
            Console.WriteLine("You've chosen to play numbers, please choose a " +
                              "number between 0 and 36, or 00");
            int num = int.Parse(OtherStuff.GetChoice(Console.ReadLine()));

            if (Bets.Numbers(num) == 1)
            {
                return(1);
            }
            else
            {
                return(0);
            }
        }
Exemplo n.º 2
0
        public static int Corner()
        {
            Console.WriteLine("You've chosen to play Corner. Please pick the " +
                              "bottom left number of the corner you would like to play.");
            int num = int.Parse(OtherStuff.GetChoice(Console.ReadLine()));

            if (Bets.Corner(num) == 1)
            {
                return(1);
            }
            else
            {
                return(0);
            }
        }
Exemplo n.º 3
0
        public static int DoubleRows()
        {
            Console.WriteLine("You've chosen to play 6 Numbers. Which " +
                              "section would you like to play: Please choose the first number" +
                              " i.e. 1, 7, 13, etc.");
            int num = int.Parse(OtherStuff.GetChoice(Console.ReadLine()));

            if (Bets.DoubleRows(num) == 1)
            {
                return(1);
            }
            else
            {
                return(0);
            }
        }
Exemplo n.º 4
0
        public static int Streets()
        {
            Console.WriteLine("You've chosen to play Streets. Which " +
                              "street would you like to play: Please choose the first number" +
                              " in the street. i.e. 1, 4, 7, etc.");
            int num = int.Parse(OtherStuff.GetChoice(Console.ReadLine()));

            if (Bets.Streets(num) == 1)
            {
                return(1);
            }
            else
            {
                return(0);
            }
        }
Exemplo n.º 5
0
        public static int Split()
        {
            Console.WriteLine("You've chosen to play Split. Which " +
                              "number would you like to split?");
            int num = int.Parse(OtherStuff.GetChoice(Console.ReadLine()));

            Console.WriteLine("What number would you like to split that with?");
            int num2 = int.Parse(OtherStuff.GetChoice(Console.ReadLine()));


            if (Bets.Split(num, num2) == 1)
            {
                return(1);
            }
            else
            {
                return(0);
            }
        }