Example #1
0
 public static void MaMeLoaded()
 {
     while (true)
     {
         string path = Path.Combine(Directory.GetParent(Directory.GetCurrentDirectory()).Parent.Parent.FullName, "Art");
         using (StreamReader Main_Logo = new StreamReader(path + @"\MainLogo.txt"))
         {
             using (StreamReader Main_Icon = new StreamReader(path + @"\Icon.txt"))
             {
                 string Icon = Main_Icon.ReadToEnd();
                 Console.WriteLine(Icon);
                 string MLogo = Main_Logo.ReadToEnd();
                 Console.WriteLine(MLogo);
             }
         }
         Console.WriteLine("1.Start Game\n2.Exit Game");
         Console.WriteLine("");
         Console.WriteLine("");
         Console.WriteLine("");
         Console.WriteLine("Enter your choice:");
         string choise1 = Console.ReadLine();
         if (choise1 == "1")
         {
             //Console.WriteLine("Do you wish to turn on autoscroll?\n1.Yes\n2.No");
             //string ChAS = Console.ReadLine();
             //if (ChAS == "1")
             //{
             //    GameplayAS.GPAS();
             //}
             //if (ChAS == "2")
             //{
             //    GameplayNAS.GPNAS();
             //}
             GameplayNAS.GPNAS();
         }
         if (choise1 == "3")
         {
             using (StreamReader Dev = new StreamReader(path + @"\Development.txt"))
             {
                 Options.Op();
             }
         }
         if (choise1 == "2")
         {
             Environment.Exit(0);
         }
         else
         {
         }
     }
 }
Example #2
0
        public static void MaMe()
        {
            string    path  = Path.Combine(Directory.GetParent(Directory.GetCurrentDirectory()).Parent.Parent.FullName, "Art");
            Stopwatch watch = new Stopwatch();

            watch.Start();
            for (int i = 1; i < 100000; i++)
            {
                while (true)
                {
                    if (watch.Elapsed.TotalMilliseconds >= 2000)
                    {
                        break;
                    }
                    using (StreamReader Main_Logo = new StreamReader(path + @"\MainLogo.txt"))
                    {
                        using (StreamReader Main_Icon = new StreamReader(path + @"\Icon.txt"))
                        {
                            string Icon = Main_Icon.ReadToEnd();
                            Console.WriteLine(Icon);
                            string MLogo = Main_Logo.ReadToEnd();
                            Console.WriteLine(MLogo);
                            System.Threading.Thread.Sleep(900);
                            using (StreamReader Main_LogoB = new StreamReader(path + @"\MainLogoBad.txt"))
                            {
                                Console.Clear();
                                Console.WriteLine(Icon);
                                string MLogoB = Main_LogoB.ReadToEnd();
                                Console.WriteLine(MLogoB);
                                System.Threading.Thread.Sleep(150);
                                Console.Clear();
                                break;
                            }
                        }
                    }
                }
            }
            watch.Stop();
MainMenuLoaded:
            using (StreamReader Main_Logo = new StreamReader(path + @"\MainLogo.txt"))
            {
                using (StreamReader Main_Icon = new StreamReader(path + @"\Icon.txt"))
                {
                    string Icon = Main_Icon.ReadToEnd();
                    Console.WriteLine(Icon);
                    string MLogo = Main_Logo.ReadToEnd();
                    Console.WriteLine(MLogo);
                }
            }
            Console.WriteLine("");
            Console.WriteLine("");
            Console.WriteLine("");
            Console.WriteLine("                                                                                                 Press any key to continue");
            Console.ReadKey();
            Console.Clear();
            using (StreamReader Main_Logo = new StreamReader(path + @"\MainLogo.txt"))
            {
                using (StreamReader Main_Icon = new StreamReader(path + @"\Icon.txt"))
                {
                    string Icon = Main_Icon.ReadToEnd();
                    Console.WriteLine(Icon);
                    string MLogo = Main_Logo.ReadToEnd();
                    Console.WriteLine(MLogo);
                }
            }
            Console.WriteLine("1.Start Game\n2.Exit Game");
            Console.WriteLine("");
            Console.WriteLine("");
            Console.WriteLine("");
            Console.WriteLine("Enter your choice:");
            string choise1 = Console.ReadLine();

            if (choise1 == "1")
            {
                //Console.WriteLine("Do you wish to turn on autoscroll?\n1.Yes\n2.No");
                //string ChAS = Console.ReadLine();
                //if (ChAS == "1")
                //{
                //    GameplayAS.GPAS();
                //}
                //if (ChAS == "2")
                //{
                //    GameplayNAS.GPNAS();
                //}
                GameplayNAS.GPNAS();
            }
            if (choise1 == "3")
            {
                using (StreamReader Dev = new StreamReader(path + @"\Development.txt"))
                {
                    Options.Op(); //Tee optionid kasulikuks kuidagi
                }
            }
            if (choise1 == "2")
            {
                Environment.Exit(0);
            }
            else
            {
                Console.Clear();
                MainMenu.MaMeLoaded();
            }
        }
Example #3
0
        public static void Op()
        {
            string path = Path.Combine(Directory.GetParent(Directory.GetCurrentDirectory()).Parent.Parent.FullName, "Art");

Options:
            Console.Clear();
            using (StreamReader Main_Logo = new StreamReader(path + @"\MainLogo.txt"))
            {
                using (StreamReader Main_Icon = new StreamReader(path + @"\Icon.txt"))
                {
                    string Icon = Main_Icon.ReadToEnd();
                    Console.WriteLine(Icon);
                    string MLogo = Main_Logo.ReadToEnd();
                    Console.WriteLine(MLogo);
                }
            }
            Console.WriteLine("What do you wish to change\n1.???\n2.???\n3.Back to main menu\nSecret Code.Skip");
            Console.WriteLine("Enter you choie:");
            string OptionsCh = Console.ReadLine();

            if (OptionsCh == "1")
            {
                Console.WriteLine("Ya Yiit"); //Ei asu enam siin
            }
            if (OptionsCh == "2")
            {
                Console.WriteLine("There is nothing here");
            }
            if (OptionsCh == "3")
            {
                MainMenu.MaMeLoaded();
            }
            if (OptionsCh == "3499")
            {
                Console.WriteLine("Which chapter?\n1.\n2.Banan\n3.DoChYes\n4.DoChNo\n4.1.House By The Road\n5.Kalmarov\n6.Ending");
                string Ch = Console.ReadLine();
                if (Ch == "1")
                {
                    Console.Clear();
                    GameplayNAS.GPNAS();
                }
                if (Ch == "2")
                {
                    Console.Clear();
                    BananNAS.BaNAS();
                }
                if (Ch == "3")
                {
                    Console.Clear();
                    DoChYes.DchY();
                }
                if (Ch == "4")
                {
                    Console.Clear();
                    DoChNo.DchN();
                }
                if (Ch == "5")
                {
                    Console.Clear();
                    RoadToKlamaRov.RoToKalMa();
                }
                if (Ch == "4.1")
                {
                    Console.Clear();
                    HouseByTheRoad.HoByThRo();
                }
                if (Ch == "6")
                {
                    Console.Clear();
                    Ending.End();
                }
                if (Ch == "SG")
                {
                    Console.Clear();
                    Combat.SuperGoblin();
                    Console.WriteLine("You win lol");
                }
                if (Ch == "G")
                {
                    Console.Clear();
                    Combat.gayd();
                    Console.WriteLine("You win lol");
                }
                if (Ch == "JP")
                {
                    Console.Clear();
                    JakeBoss.gaydar();
                    Console.WriteLine("You win lol");
                }
                if (Ch == "S")
                {
                    Console.Clear();
                    squiddd.Squidd();
                    Console.WriteLine("You win lol");
                }
            }
        }