예제 #1
0
        public static void MenuCommand()
        {
            //Used at the game start Screen so that they can see what is going on

            //Not using at this time



            IsNewPlayer.NewPlayer();
        }
예제 #2
0
 // need to add in armor and level at a later time once others are finished
 public static void LoadGame(string name)
 {
     if (!File.Exists(name + ".xml"))
     {
         Console.WriteLine("Player does not exist.");
         IsNewPlayer.NewPlayer();
     }
     else
     {
         Player._player = null;
         Player._player = CreatePlayerFromXmlString(File.ReadAllText(name + ".xml"));
     }
 }
예제 #3
0
 public void Welcome()
 {
     Console.WriteLine("           ####################                 ");
     Console.WriteLine("           ####################                 ");
     Console.WriteLine("                   ###                        ##");
     Console.WriteLine("                   ###              #######   ##");
     Console.WriteLine("                   ###              ##   ##   ##");
     Console.WriteLine("                   ###     ####     ##        ##         ####     ##        ");
     Console.WriteLine("                   ###   ##    ##   #######   ######   ##    ##   ######    ");
     Console.WriteLine("                   ###  ##      ##       ##   ######  ##      ##  ###  #    ");
     Console.WriteLine("            ##########   ##    ##   ##   ##   ##  ##   ##    ##   ##        ");
     Console.WriteLine("            ##########     ####     #######   ##  ##     ####     ##        ");
     Console.WriteLine("________________________________________________________________________________");
     IsNewPlayer.NewPlayer();            // Next determine if they are a new player.
 }
예제 #4
0
        public static void Title()
        {
            Console.ForegroundColor = ConsoleColor.DarkRed;
            Console.WriteLine("         #                     #          ##           ########    ####        ##");
            Console.WriteLine("        ###                   ###         ##          ##  ##  ##   ## ##       ##");
            Console.WriteLine("       ## ##  ##         ##  ## ##        ##         ##   ##   ##  ##  ##      ##");
            Console.WriteLine("      ##   ##  ##       ##  ##   ##       ##        ##    ##    ## ##   ##     ##");
            Console.WriteLine("     ##     ##  ##     ##  ##     ##      ##        ############## ##    ##    ##");
            Console.WriteLine("    ###########  ##   ##  ###########     ##        ##    ##    ## ##     ##   ##");
            Console.WriteLine("   ##         ##  ## ##  ##         ##    ##         ##   ##   ##  ##      ##  ##");
            Console.WriteLine("  ##           ##  ###  ##           ##   ########### ##  ##  ##   ##       ## ##");
            Console.WriteLine(" ##             ##  #  ##             ##  ###########  ########    ##        ####");
            Console.WriteLine("_________________________________________________________________________________");
            Console.ForegroundColor = ConsoleColor.White;
            Console.WriteLine("Welcome to the world of Avalon");
            IsNewPlayer.NewPlayer();

            //Test code Almost working
            //Console.WriteLine("Enter Continue to proceed to Game Meneu");
            //Console.WriteLine("Info - This selection is not implemented as of yet");

            //string usersInput;
            //bool validAnswer = false;

            //while (validAnswer == false)
            //{
            //    Console.Write("> ");
            //    usersInput = Console.ReadLine();

            //    if (usersInput.ToLower() == "continue")
            //    {
            //        IsNewPlayer.NewPlayer();
            //    }
            //    else if (usersInput.ToLower() == "info") // Move on to create the player
            //    {
            //        //validAnswer = true;
            //        Console.WriteLine("Enter a valid answer.");
            //    }
            //    else
            //    {
            //        Console.WriteLine("Enter a valid answer.");
            //    }
            //}
        }