コード例 #1
0
        public static void MainOptionsSwitch()
        {
            int choice = InputChoice.Choice();

            switch (choice)
            {
            case 1:
            {
                Console.Clear();
                Game.GameLogic();
                break;
            }

            case 2:
            {
                Console.Clear();
                Options.OptionsMenu();
                break;
            }

            case 3:
            {
                Console.Clear();
                ExitScreen.EndTheGame();
                break;
            }

            default:
            {
                Console.WriteLine("Choose again");
                Thread.Sleep(1000);
                Console.Clear();
                MainOptions();
                break;
            }
            }
        }