Пример #1
0
        public static void WelcomeMenu()
        {
WelcomeMenu:
            Console.WriteLine("Welcome! Would You like to play Roulette?");
            Console.WriteLine("Press [Y/N]");
            string selection = Console.ReadLine().ToUpper();

            if (selection == "Y")
            {
                Console.Clear();
                RouletteTable.DrawBoard();
            }
            else if (selection == "N")
            {
                Environment.Exit(0);
            }
            else
            {
                Console.WriteLine("You have input the wrong value. Please select 'Y' or 'N'");
                goto WelcomeMenu;
            }
        }
Пример #2
0
 public static void WalletHover()
 {
     RouletteTable.DrawBoard();
     Console.WriteLine($"Wallet: ${Wallet.myMoney}");
 }