Exemple #1
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");
                }
            }
        }
        public static void RoToKalMa()
        {
            string path = Path.Combine(Directory.GetParent(Directory.GetCurrentDirectory()).Parent.Parent.FullName, "Art");

            Console.WriteLine("*You're on the road again");
            Console.ReadKey();
            Console.WriteLine("*You're tired of Chernobyl and want to go back home");
            Console.ReadKey();
            Console.WriteLine("*You miss home");
            Console.ReadKey();
            Console.WriteLine("*You wish you were home");
            Console.ReadKey();
            Console.WriteLine("*Sitting there, with your family, enjoying a meal");
            Console.ReadKey();
            Console.WriteLine("**Bean fades into a flashback of him getting taken by the Tottaly Not FBI@TM");
            Console.ReadKey();
            Console.WriteLine("Mr.B: Make it stop!");
            Console.ReadKey();
            Console.WriteLine("*Bean is slowly losing his mind due to the constant radiation he is getting");
            Console.ReadKey();
            Console.WriteLine("*He encounters another russian goblin");
            Console.ReadKey();
            Console.WriteLine("Goblin: Staraytes' ne poteryat' rassudok");
            Console.ReadKey();
            Console.WriteLine("**You start combat with the goblin");
            Combat.gayd();
            Console.WriteLine("**You beat the goblin");
            Console.ReadKey();
            Console.WriteLine("*You keep walking the road");
            Console.ReadKey();
            Console.WriteLine("Mr.B: I can't anymor...");
            Console.ReadKey();
            Console.WriteLine("**Bean passes out");
            Console.WriteLine(".");
            Console.ReadKey();
            Console.WriteLine(".");
            Console.Clear();
            Console.WriteLine("**You wake up, head hurting");
            Console.ReadKey();
            Console.WriteLine("Mr.B: Where am i?");
            Console.ReadKey();
            Console.WriteLine("*You look around and see a roadsign that has 'ty skoro umer!' written on it");
            Console.ReadKey();
            Console.WriteLine("*You have no idea what it means, not big suprise");
            Console.ReadKey();
            //Console.WriteLine("You see a house on the side of the road\nWill you enter the house\n1.Yes\n2.No");
            //string HouseCh = Console.ReadLine();
            //if (HouseCh == "1")
            //{
            //    HouseByTheRoad.HoByThRo();
            //}
            //if (HouseCh == "2")
            //{
            //    Console.WriteLine("Mr.B: No time to stop, have to find the True Chosen One");
            //}
            Console.WriteLine("*You keep walking down the road");
            Console.ReadKey();
            Console.WriteLine("*After a long walk you find a destroyed city");
            Console.ReadKey();
            Console.WriteLine("*Except for one house");
            Console.ReadKey();
            Console.WriteLine("*The house is in very good condition");
            Console.ReadKey();
            Console.WriteLine("*And there is a dabbing goblin");
            Console.ReadKey();
            Console.WriteLine("**You enter combat with him");
            Combat.SuperGoblin();
            Console.WriteLine("**You kill him and walk in the house");
            Console.ReadKey();
            Console.WriteLine("The house is very big and dark");
            Console.ReadKey();
            Console.WriteLine("You find a big door that is left a little open and you hear a flute inside");
            Console.ReadKey();
            Console.WriteLine("You enter the room, the door closes behind you and the flute stops");
            Console.ReadKey();
            Console.WriteLine("You see a big squid emerging form around the corner");
            Console.ReadKey();
            Console.WriteLine("Squid: You pick the wrong house fool");
            Console.ReadKey();
            Console.WriteLine("Mr.B: Im here to stop you and stop dabbing");
            Console.ReadKey();
            Console.WriteLine("Squid: Then you will die");
            squiddd.Squidd();
            Ending.End();
        }
Exemple #3
0
        public static void Squidd()
        {
            string path = Path.Combine(Directory.GetParent(Directory.GetCurrentDirectory()).Parent.Parent.FullName, "Art");

            using (StreamReader Squid_image = new StreamReader(path + @"\Squiddab.txt"))
            {
                Console.BackgroundColor = ConsoleColor.Black;
                Console.ForegroundColor = ConsoleColor.White;
                string fBoss = Squid_image.ReadToEnd();
                Console.WriteLine(fBoss);
                Squid  Squidward = new Squid();
                MrBean MrBean    = new MrBean();
                int    i         = 0;
                Console.BackgroundColor = ConsoleColor.Black;
                Console.ForegroundColor = ConsoleColor.Blue;
                while (true)
                {
                    i = i + 1;
                    if (i % 2 == 0)//enemy's special attack
                    {
                        Console.WriteLine("\nThe Squid is gonna dab!\n");
                        System.Threading.Thread.Sleep(1500);
                        Console.WriteLine("The Squid: " + Squidward.SquidHP);
                        Console.WriteLine("Mr Bean: " + MrBean.mrBeanHP);
                        Console.WriteLine("\nWhat will Mr Bean do?" + "\n1.Fight\n2.Dodge");
                        string choice3 = (Console.ReadLine());
                        if (choice3 == "1")
                        {
                            Console.WriteLine("\n1.Attack\n2.Heavy Attack\n3.Dab\n4.Shield Attack");
                            string choice4 = (Console.ReadLine());
                            if (choice4 == "1")
                            {
                                Console.WriteLine("The Squid dabs!");
                                System.Threading.Thread.Sleep(1200);
                                Console.WriteLine("Mr Bean tried to attack, but he was too slow!");
                                System.Threading.Thread.Sleep(1500);
                                Console.WriteLine("Mr Bean dies!");
                                while (true)
                                {
                                    Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                    string answeer = Console.ReadLine();
                                    if (answeer == "1")
                                    {
                                        squiddd.Squidd();
                                    }
                                    if (answeer == "2")
                                    {
                                        Environment.Exit(0);
                                    }
                                    else
                                    {
                                    }
                                }
                            }
                            else if (choice4 == "2")
                            {
                                Console.WriteLine("The Squid dabs!");
                                System.Threading.Thread.Sleep(1200);
                                Console.WriteLine("Mr Bean tried to attack, but he was too slow!");
                                System.Threading.Thread.Sleep(1500);
                                Console.WriteLine("Mr Bean dies!");
                                while (true)
                                {
                                    Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                    string answeer = Console.ReadLine();
                                    if (answeer == "1")
                                    {
                                        squiddd.Squidd();
                                    }
                                    if (answeer == "2")
                                    {
                                        Environment.Exit(0);
                                    }
                                    else
                                    {
                                    }
                                }
                            }
                            else if (choice4 == "3")
                            {
                                Console.WriteLine("Mr Bean tried to dab, but it was ineffective!");
                                System.Threading.Thread.Sleep(1500);
                                Squidward.Dab();
                                Console.WriteLine("Mr Bean dies!");
                                System.Threading.Thread.Sleep(1500);
                                while (true)
                                {
                                    Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                    string answeer = Console.ReadLine();
                                    if (answeer == "1")
                                    {
                                        squiddd.Squidd();
                                    }
                                    if (answeer == "2")
                                    {
                                        Environment.Exit(0);
                                    }
                                    else
                                    {
                                    }
                                }
                            }
                            else if (choice4 == "4")
                            {
                                Console.WriteLine("Mr Bean tries to defend himself, but The Squid's dab goes through his defense!");
                                Console.WriteLine("Mr Bean dies!");
                                while (true)
                                {
                                    Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                    string answeer = Console.ReadLine();
                                    if (answeer == "1")
                                    {
                                        squiddd.Squidd();
                                    }
                                    if (answeer == "2")
                                    {
                                        Environment.Exit(0);
                                    }
                                    else
                                    {
                                    }
                                }
                            }
                            else
                            {
                                Console.WriteLine("Mr Bean stood still, confused.");
                                System.Threading.Thread.Sleep(1000);
                                Console.WriteLine("The Squid dabs, doing " + Squidward.SquidDabAP + " damage!");
                                System.Threading.Thread.Sleep(1500);
                                Console.WriteLine("Mr Bean dies!");
                                while (true)
                                {
                                    Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                    string answeer = Console.ReadLine();
                                    if (answeer == "1")
                                    {
                                        squiddd.Squidd();
                                    }
                                    if (answeer == "2")
                                    {
                                        Environment.Exit(0);
                                    }
                                    else
                                    {
                                    }
                                }
                            }
                        }
                        else if (choice3 == "2")
                        {
                            Console.WriteLine("The Squid dabs!");
                            System.Threading.Thread.Sleep(500);
                            Console.WriteLine("Mr Bean dodges!");
                            System.Threading.Thread.Sleep(500);
                            Console.WriteLine("The Squids dab was ineffective!");
                        }
                        else
                        {
                            Console.WriteLine("Mr Bean stood still, confused.");
                            System.Threading.Thread.Sleep(1000);
                            Console.WriteLine("The Squid dabs, doing " + Squidward.SquidDabAP + " damage!");
                            System.Threading.Thread.Sleep(1500);
                            Console.WriteLine("Mr Bean dies!");
                            while (true)
                            {
                                Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                string answeer = Console.ReadLine();
                                if (answeer == "1")
                                {
                                    squiddd.Squidd();
                                }
                                if (answeer == "2")
                                {
                                    Environment.Exit(0);
                                }
                                else
                                {
                                }
                            }
                        }
                    }
                    else
                    {
                        Console.WriteLine("The Squid: " + Squidward.SquidHP);
                        Console.WriteLine("Mr Bean: " + MrBean.mrBeanHP);
                        Console.WriteLine("\nWhat will Mr Bean do?\n1.Fight\n2.Dodge");
                        string choice1 = (Console.ReadLine());
                        if (choice1 == "1")
                        {
                            Console.WriteLine("\n1.Attack\n2.Heavy Attack\n3.Dab\n4.Shield Attack");
                            string choice2 = (Console.ReadLine());
                            if (choice2 == "1")
                            {
                                MrBean.Attackk();
                                System.Threading.Thread.Sleep(1200);
                                Squidward.TakeDamage();
                                System.Threading.Thread.Sleep(1200);
                                Squidward.SquidHP = Squidward.SquidHP - MrBean.mrBeanAP;
                                if (Squidward.SquidHP <= 0)
                                {
                                    Console.WriteLine("The Squid died!");//battle end
                                    break;
                                }
                                else
                                {
                                    Squidward.SqAttack();
                                    System.Threading.Thread.Sleep(1200);
                                    Console.WriteLine("Mr Bean takes 20 damage!");
                                    System.Threading.Thread.Sleep(1200);
                                    MrBean.mrBeanHP = MrBean.mrBeanHP - Squidward.SquidAP;
                                    if (MrBean.mrBeanHP <= 0)
                                    {
                                        Console.WriteLine("Mr Bean died!");
                                        while (true)
                                        {
                                            Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                            string answeer = Console.ReadLine();
                                            if (answeer == "1")
                                            {
                                                squiddd.Squidd();
                                            }
                                            if (answeer == "2")
                                            {
                                                Environment.Exit(0);
                                            }
                                            else
                                            {
                                            }
                                        }
                                    }
                                    else
                                    {
                                    }
                                }
                            }
                            else if (choice2 == "2")
                            {
                                Random rand = new Random();

                                MrBean.HeavyAttack();
                                if (rand.Next(0, 100) <= 25)
                                {
                                    System.Threading.Thread.Sleep(1200);
                                    Squidward.TakeHeavyDamage();
                                    System.Threading.Thread.Sleep(1200);
                                    Squidward.SquidHP = Squidward.SquidHP - MrBean.mrBeanHeavyAP;
                                    if (Squidward.SquidHP <= 0)
                                    {
                                        Console.WriteLine("The Squid died!");
                                        break;
                                    }
                                    else
                                    {
                                        Squidward.SqAttack();
                                        System.Threading.Thread.Sleep(1200);
                                        Console.WriteLine("Mr Bean takes 20 damage!");
                                        System.Threading.Thread.Sleep(1200);
                                        MrBean.mrBeanHP = MrBean.mrBeanHP - Squidward.SquidAP;
                                        if (MrBean.mrBeanHP <= 0)
                                        {
                                            Console.WriteLine("Mr Bean died!");
                                            while (true)
                                            {
                                                Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                                string answeer = Console.ReadLine();
                                                if (answeer == "1")
                                                {
                                                    squiddd.Squidd();
                                                }
                                                if (answeer == "2")
                                                {
                                                    Environment.Exit(0);
                                                }
                                                else
                                                {
                                                }
                                            }
                                        }
                                        else
                                        {
                                        }
                                    }
                                }
                                else
                                {
                                    Console.WriteLine("But it missed!");
                                }
                            }
                            else if (choice2 == "3")
                            {
                                Console.WriteLine("Mr Bean tried to dab, but it was ineffective!");
                                Squidward.SqAttack();
                                System.Threading.Thread.Sleep(1200);
                                Console.WriteLine("Mr Bean takes 20 damage!");
                                System.Threading.Thread.Sleep(1200);
                                MrBean.mrBeanHP = MrBean.mrBeanHP - Squidward.SquidAP;
                                if (MrBean.mrBeanHP <= 0)
                                {
                                    Console.WriteLine("Mr Bean died!");
                                    while (true)
                                    {
                                        Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                        string answeer = Console.ReadLine();
                                        if (answeer == "1")
                                        {
                                            squiddd.Squidd();
                                        }
                                        if (answeer == "2")
                                        {
                                            Environment.Exit(0);
                                        }
                                        else
                                        {
                                        }
                                    }
                                }
                                else
                                {
                                }
                            }
                            else if (choice2 == "4")
                            {
                                MrBean.AttackShield();
                                System.Threading.Thread.Sleep(1200);
                                Squidward.TakeShieldDamage();
                                System.Threading.Thread.Sleep(1200);
                                Squidward.SquidHP = Squidward.SquidHP - MrBean.mrBeanShieldAttackAP;
                                if (Squidward.SquidHP <= 0)
                                {
                                    Console.WriteLine("The Squid died!");//battle end
                                    break;
                                }
                                else
                                {
                                    Squidward.SqAttack();
                                    System.Threading.Thread.Sleep(1200);
                                    int RedDMG = Squidward.SquidAP;
                                    MrBean.mrBeanHP = MrBean.mrBeanHP - RedDMG;
                                    Console.WriteLine("Mr Bean takes " + RedDMG + " damage!");
                                    System.Threading.Thread.Sleep(1200);
                                    if (MrBean.mrBeanHP <= 0)
                                    {
                                        Console.WriteLine("Mr Bean died!");
                                        while (true)
                                        {
                                            Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                            string answeer = Console.ReadLine();
                                            if (answeer == "1")
                                            {
                                                squiddd.Squidd();
                                            }
                                            if (answeer == "2")
                                            {
                                                Environment.Exit(0);
                                            }
                                            else
                                            {
                                            }
                                        }
                                    }
                                    else
                                    {
                                    }
                                }
                            }
                            else
                            {
                                Console.WriteLine("Mr Bean can't do that!(Type 1 to Attack & 2 to Dodge)");
                                System.Threading.Thread.Sleep(1250);
                                squiddd.Squidd();
                            }
                        }

                        else if (choice1 == "2")
                        {
                            Squidward.SqAttack();
                            System.Threading.Thread.Sleep(1000);
                            Console.WriteLine("Mr Bean dodges!");
                            System.Threading.Thread.Sleep(1000);
                            Console.WriteLine("The Squid's attack misses!\n");
                            squiddd.Squidd();
                        }
                        else
                        {
                            Console.WriteLine("Mr Bean can't do that!(Type 1 to Attack & 2 to Dodge)");
                            System.Threading.Thread.Sleep(2000);
                            squiddd.Squidd();
                        }
                    }
                }
                Console.BackgroundColor = ConsoleColor.Black;
                Console.ForegroundColor = ConsoleColor.White;
                Console.WriteLine("Mr Bean wins!");
                Console.ReadLine();
                Ending.End();
            }
        }