Example #1
0
        private void SpinWheel()
        {
            bool end = false;

            do
            {
                Console.Clear();
                if (UI.PromptForInputInline("Hit Q to quit. Hit any other key spin the Roulette Wheel >\n") == ConsoleKey.Q)
                {
                    break;
                }
                PrintWinningBet(a.NextBet().ToString());
                if (UI.PromptForInputInline("\nHit Q to quit. Hit any other key to continue. >") == ConsoleKey.Q)
                {
                    end = true;
                }
            } while (!end);
        }