Ejemplo n.º 1
0
        public static void UseMenu()
        {
            Drawer.DrawTitle();
            Drawer.DrawMenu(ConsoleColor.Red, ConsoleColor.Black, ConsoleColor.Black, ConsoleColor.Black, ConsoleColor.Red, ConsoleColor.Green, ConsoleColor.Green, ConsoleColor.Green, menu1, menu2, menu3, menu4);
            int menuNum = SelectMenu();

            switch (menuNum)
            {
            case 1:
                VisualGame.StartGame(new NewGame(new GamerInfo(VisualGame.Greetings(), 0, GameTable.CreateTable())));
                break;

            case 2:
                MenuResume.ContinueGame();
                break;

            case 3:
                MenuRecords.DrawRecords();
                break;

            case 4:
                MenuSelectOpt.Head();
                break;
            }
        }
Ejemplo n.º 2
0
        static void ChangeTrueWords()
        {
            string[] welcome = { "█▀▀ █▄ █ ▀█▀ █▀▀ █▀█   ▀█▀ █ █ █▀▀   █▀▀ █▀█ █   █▀█ █▀█   █▀█ █▀▀   ▀█▀ █ █ █▀▀   █▀▀ █▀█ █▀█ █▀█ █▀▀ █▀▀ ▀█▀  █ █ █ █▀█ █▀█ █▀▄ █▀",
                                 "██▄ █ ▀█  █  ██▄ █▀▄    █  █▀█ ██▄   █▄▄ █▄█ █▄▄ █▄█ █▀▄   █▄█ █▀     █  █▀█ ██▄   █▄▄ █▄█ █▀▄ █▀▄ ██▄ █▄▄  █   ▀▄▀▄▀ █▄█ █▀▄ █▄▀ ▄█" };
            Console.ForegroundColor = ConsoleColor.Green;
            Drawer.WriteMenu(welcome, 15);
            Console.WriteLine();
            int i = MenuSelectOpt.ChangeColor();

            switch (i)
            {
            case 1:
                MenuOptionsData.TrueWordColor = 1;
                break;

            case 2:
                MenuOptionsData.TrueWordColor = 2;
                break;

            case 3:
                MenuOptionsData.TrueWordColor = 3;
                break;

            case 4:
                MenuOptionsData.TrueWordColor = 4;
                break;

            case 5:
                MenuOptionsData.TrueWordColor = 5;
                break;

            case 6:
                MenuOptionsData.TrueWordColor = 6;
                break;

            case 7:
                MenuOptionsData.TrueWordColor = 7;
                break;

            case 8:
                MenuOptionsData.TrueWordColor = 8;
                break;

            case 9:
                MenuOptionsData.TrueWordColor = 9;
                break;

            case 10:
                MenuOptionsData.TrueWordColor = 10;
                break;
            }
            Console.Clear();
            Head();
        }