コード例 #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");
                }
            }
        }
コード例 #2
0
ファイル: JakeBoss.cs プロジェクト: Virk0/Chernobyl2077
        public static void gaydar()
        {
            //insert into boss battle location
            //insert image from JakeP class
            while (true)
            {
                {
                    JakeP  Jake    = new JakeP();
                    MrBean MrBean  = new MrBean();
                    int    counter = 0;
                    while (true)
                    {
                        Console.BackgroundColor = ConsoleColor.Black;
                        Console.ForegroundColor = ConsoleColor.Blue;
                        counter = counter + 1;
                        if (counter % 3 == 0)//Special move
                        {
                            Console.WriteLine("\nJake is gonna dab!\n");
                            System.Threading.Thread.Sleep(1500);
                            Console.WriteLine("Jake: " + Jake.JakePHP);
                            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("Jake 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!");
RetryJP:
                                    Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                    int answeer = int.Parse(Console.ReadLine());
                                    if (answeer == 1)
                                    {
                                        JakeBoss.gaydar();
                                    }
                                    if (answeer == 2)
                                    {
                                        Environment.Exit(0);
                                    }
                                    else
                                    {
                                        goto RetryJP;
                                    }
                                }
                                else if (choice4 == "2")
                                {
                                    Console.WriteLine("Jake 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!");
RetryJP:
                                    Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                    int answeer = int.Parse(Console.ReadLine());
                                    if (answeer == 1)
                                    {
                                        JakeBoss.gaydar();
                                    }
                                    if (answeer == 2)
                                    {
                                        Environment.Exit(0);
                                    }
                                    else
                                    {
                                        goto RetryJP;
                                    }
                                }
                                else if (choice4 == "3")
                                {
                                    Console.WriteLine("Mr Bean and Jake dabbed at the same time!");
                                    System.Threading.Thread.Sleep(1500);
                                    Console.WriteLine("They canceled eachother's dabs out, making them both ineffective!");
                                    System.Threading.Thread.Sleep(1500);
                                }
                                else if (choice4 == "4")
                                {
                                    Console.WriteLine("Mr Bean tried to defend himself, but Jake's dab went through his defense!");
                                    Console.WriteLine("Mr Bean dies!");
RetryJP:
                                    Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                    int answeer = int.Parse(Console.ReadLine());
                                    if (answeer == 1)
                                    {
                                        JakeBoss.gaydar();
                                    }
                                    if (answeer == 2)
                                    {
                                        Environment.Exit(0);
                                    }
                                    else
                                    {
                                        goto RetryJP;
                                    }
                                }
                                else
                                {
                                    Console.WriteLine("Mr Bean stood still, confused.");
                                    System.Threading.Thread.Sleep(1000);
                                    Console.WriteLine("Jake dabs, doing " + Jake.JakePDabAP + " damage!");
                                    System.Threading.Thread.Sleep(1500);
RetryJP:
                                    Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                    int answeer = int.Parse(Console.ReadLine());
                                    if (answeer == 1)
                                    {
                                        JakeBoss.gaydar();
                                    }
                                    if (answeer == 2)
                                    {
                                        Environment.Exit(0);
                                    }
                                    else
                                    {
                                        goto RetryJP;
                                    }
                                }
                            }
                            if (choice3 == "2")
                            {
                                Console.WriteLine("Jake dabs!");
                                System.Threading.Thread.Sleep(1000);
                                Console.WriteLine("Mr Bean dodges!");
                                System.Threading.Thread.Sleep(1000);
                                Console.WriteLine("Jake's dab was ineffective!");
                                System.Threading.Thread.Sleep(1000);
                            }

                            else
                            {
                                Console.WriteLine("Mr Bean stood still, confused.");
                                System.Threading.Thread.Sleep(1000);
                                Console.WriteLine("Jake dabs, doing " + Jake.JakePDabAP + " damage!");
                                System.Threading.Thread.Sleep(1500);
                                Console.WriteLine("Mr Bean dies!");
RetryJP:
                                Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                int answeer = int.Parse(Console.ReadLine());
                                if (answeer == 1)
                                {
                                    JakeBoss.gaydar();
                                }
                                if (answeer == 2)
                                {
                                    Environment.Exit(0);
                                }
                                else
                                {
                                    goto RetryJP;
                                }
                            }
                        }
                        Console.WriteLine("Jake: " + Jake.JakePHP);
                        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);
                                Jake.TakeDamage();
                                System.Threading.Thread.Sleep(1200);
                                Jake.JakePHP = Jake.JakePHP - MrBean.mrBeanAP;
                                if (Jake.JakePHP <= 0)
                                {
                                    Console.WriteLine("Jake died!");//battle end
                                    break;
                                }
                                else
                                {
                                    Jake.JakePAttack();
                                    System.Threading.Thread.Sleep(1200);
                                    Console.WriteLine("Mr Bean takes 15 damage!");
                                    System.Threading.Thread.Sleep(1200);
                                    MrBean.mrBeanHP = MrBean.mrBeanHP - Jake.JakePAP;
                                    if (MrBean.mrBeanHP <= 0)
                                    {
                                        Console.WriteLine("Mr Bean died!");
                                        while (true)
                                        {
                                            Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                            int answeer = int.Parse(Console.ReadLine());
                                            if (answeer == 1)
                                            {
                                                JakeBoss.gaydar();
                                            }
                                            if (answeer == 2)
                                            {
                                                Environment.Exit(0);
                                            }
                                            else
                                            {
                                            }
                                        }
                                    }
                                    else
                                    {
                                    }
                                }
                            }
                            else if (choice2 == "2")
                            {
                                Random rand = new Random();

                                MrBean.HeavyAttack();
                                if (rand.Next(0, 100) <= 40)
                                {
                                    System.Threading.Thread.Sleep(1200);

                                    Jake.TakeHeavyDamage();
                                    System.Threading.Thread.Sleep(1200);
                                    Jake.JakePHP = Jake.JakePHP - MrBean.mrBeanHeavyAP;
                                    if (Jake.JakePHP <= 0)
                                    {
                                        Console.WriteLine("Jake died!");//battle end
                                        break;
                                    }
                                    else
                                    {
                                        Jake.JakePAttack();
                                        System.Threading.Thread.Sleep(1200);
                                        Console.WriteLine("Mr Bean takes 15 damage!");
                                        System.Threading.Thread.Sleep(1200);
                                        MrBean.mrBeanHP = MrBean.mrBeanHP - Jake.JakePAP;
                                        if (MrBean.mrBeanHP <= 0)
                                        {
                                            Console.WriteLine("Mr Bean died!");
                                            while (true)
                                            {
                                                Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                                int answeer = int.Parse(Console.ReadLine());
                                                if (answeer == 1)
                                                {
                                                    JakeBoss.gaydar();
                                                }
                                                if (answeer == 2)
                                                {
                                                    Environment.Exit(0);
                                                }
                                                else
                                                {
                                                }
                                            }
                                        }
                                        else
                                        {
                                        }
                                    }
                                }
                                else
                                {
                                    Console.WriteLine("But it missed!");
                                    Jake.JakePAttack();
                                    System.Threading.Thread.Sleep(1200);
                                    Console.WriteLine("Mr Bean takes 15 damage!");
                                    System.Threading.Thread.Sleep(1200);
                                    MrBean.mrBeanHP = MrBean.mrBeanHP - Jake.JakePAP;
                                    if (MrBean.mrBeanHP <= 0)
                                    {
                                        Console.WriteLine("Mr Bean died!");
                                        while (true)
                                        {
                                            Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                            int answeer = int.Parse(Console.ReadLine());
                                            if (answeer == 1)
                                            {
                                                JakeBoss.gaydar();
                                            }
                                            if (answeer == 2)
                                            {
                                                Environment.Exit(0);
                                            }
                                            else
                                            {
                                            }
                                        }
                                    }
                                    else
                                    {
                                    }
                                }
                            }


                            else if (choice2 == "3")
                            {
                                Console.WriteLine("Mr Bean tried to dab, but it was ineffective!");
                                Jake.JakePAttack();
                                System.Threading.Thread.Sleep(1200);
                                Console.WriteLine("Mr Bean takes 15 damage!");
                                System.Threading.Thread.Sleep(1200);
                                MrBean.mrBeanHP = MrBean.mrBeanHP - Jake.JakePAP;
                                if (MrBean.mrBeanHP <= 0)
                                {
                                    Console.WriteLine("Mr Bean died!");
                                    while (true)
                                    {
                                        Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                        int answeer = int.Parse(Console.ReadLine());
                                        if (answeer == 1)
                                        {
                                            JakeBoss.gaydar();
                                        }
                                        if (answeer == 2)
                                        {
                                            Environment.Exit(0);
                                        }
                                        else
                                        {
                                        }
                                    }
                                }
                                else
                                {
                                }
                            }
                            else if (choice2 == "4")
                            {
                                MrBean.AttackShield();
                                System.Threading.Thread.Sleep(1200);
                                Jake.TakeShieldDamage();
                                System.Threading.Thread.Sleep(1200);
                                Jake.JakePHP = Jake.JakePHP - MrBean.mrBeanShieldAttackAP;
                                if (Jake.JakePHP <= 0)
                                {
                                    Console.WriteLine("Jake died!");//battle end
                                    break;
                                }
                                else
                                {
                                    Jake.JakePAttack();
                                    System.Threading.Thread.Sleep(1200);
                                    Console.WriteLine("Mr Bean takes 8 damage!");
                                    System.Threading.Thread.Sleep(1200);
                                    MrBean.mrBeanHP = MrBean.mrBeanHP - 8;
                                    if (MrBean.mrBeanHP <= 0)
                                    {
                                        Console.WriteLine("Mr Bean died!");
                                        while (true)
                                        {
                                            Console.WriteLine("Do you want to retry?\n1.Yes\n2.No");
                                            int answeer = int.Parse(Console.ReadLine());
                                            if (answeer == 1)
                                            {
                                                JakeBoss.gaydar();
                                            }
                                            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);
                            }
                        }
                        else if (choice1 == "2")
                        {
                            Jake.JakePAttack();
                            System.Threading.Thread.Sleep(1000);
                            Console.WriteLine("Mr Bean dodges!");
                            System.Threading.Thread.Sleep(1000);
                            Console.WriteLine("Jake's attack misses!");
                        }
                        else
                        {
                            Console.WriteLine("Mr Bean can't do that!(Type 1 to Attack & 2 to Dodge)");
                            System.Threading.Thread.Sleep(2000);
                        }
                    }
                }

                Console.BackgroundColor = ConsoleColor.Black;
                Console.ForegroundColor = ConsoleColor.White;
                Console.WriteLine("Mr Bean wins!");
                break;
            }
        }
コード例 #3
0
        public static void DchY()
        {
            Console.WriteLine("*You walk in the room");
            Console.ReadKey();
            Console.WriteLine("*The door behind you closes");
            Console.ReadKey();
            Console.WriteLine("*You're in a big empty room");
            Console.ReadKey();
            Console.WriteLine("*You realise what this might be");
            Console.ReadKey();
            Console.WriteLine("*You hear music start playing");
            Console.ReadKey();
            Console.WriteLine("*You recognize the music, it's Dark Souls music");
            Console.ReadKey();
            Console.WriteLine("Suddenly you see a person appear, dabbing");
            Console.ReadKey();
            Console.WriteLine("???: Welcome, We've been excpeting you");
            Console.ReadKey();
            Console.WriteLine("*You realise this might be the chosen one");
            Console.ReadKey();
            Console.WriteLine("Mr.B: You must be Jake Paul");
            Console.ReadKey();
            Console.WriteLine("Jake.P: You guessed it");
            Console.ReadKey();
            Console.WriteLine("Jake.P: But now i must stop you, i know why you're here, you're here to stop dabbing, you're here to kill me!");
            Console.ReadKey();
            Console.WriteLine("*You stay silent");
            Console.ReadKey();
            Console.WriteLine("Jake.P: Well come and fight me you coward");

            JakeBoss.gaydar();

            Console.WriteLine("*Jake paul falls down in defeat");
            Console.ReadKey();
            Console.WriteLine("*You realise that you can finaly go home");
            Console.ReadKey();
            Console.WriteLine("*You've finally defeated dabbing");
            Console.ReadKey();
            Console.WriteLine("*You walk outside in victory");
            Console.ReadKey();
            Console.WriteLine(".....\n........\n........");
            Console.ReadKey();
            Console.WriteLine("Mr.B: Oh no, how, how are they still effected by dabbing");
            Console.ReadKey();
            Console.WriteLine("*I thought i killed the chosen one");
            Console.ReadKey();
            Console.WriteLine("*Why is dabbing still here");
            Console.ReadKey();
            Console.WriteLine("Ol Johnny: You fool, you can't defeat dabbing so easily");
            Console.ReadKey();
            Console.WriteLine("Mr.B: Johnny?");
            Console.ReadKey();
            Console.WriteLine("Ol Johnny: The prophecy was a lie, They thought he was the best, the strongest and, the wisest. They were wrong");
            Console.ReadKey();
            Console.WriteLine("Ol Johnny: They say there is something much worse out there.... \nThey described him as a blue big monster, who is the best at dabbing");
            Console.ReadKey();
            Console.WriteLine("Mr.B: Where could i find him");
            Console.ReadKey();
            Console.WriteLine("Ol Johnny: .\n.\n.\n.\n.");
            Console.ReadKey();
            Console.WriteLine("Ol Johnny: No one knows");
            Console.ReadKey();
            Console.WriteLine("Ol Johnny: i would say you should start by 'Dom kal'marov' house");
            Console.ReadKey();
            Console.WriteLine("Mr.B: Thank you Johnny");
            Console.ReadKey();
            Console.WriteLine("*You walk out the house and go search for the 'Dom kal'marov' building");
            Console.ReadKey();
            RoadToKlamaRov.RoToKalMa();
        }
コード例 #4
0
ファイル: DoChNo.cs プロジェクト: Virk0/Chernobyl2077
        public static void DchN()
        {
            string path = Path.Combine(Directory.GetParent(Directory.GetCurrentDirectory()).Parent.Parent.FullName, "Art");

            Console.WriteLine("You decide to go and search for another way");
            Console.ReadKey();
            Console.WriteLine("You walk around the house");
            Console.ReadKey();
            Console.WriteLine("Suddenly you hear footsteps behind you");
            Console.ReadKey();
            Console.WriteLine("Next you're knocked out");
            Console.ReadKey();
            Console.Clear();
            Console.WriteLine("You wake up in a cage");
            Console.ReadKey();
            Console.WriteLine("You start looking for a way out");
            Console.ReadKey();
            while (true)
            {
                Console.BackgroundColor = ConsoleColor.Black;
                Console.ForegroundColor = ConsoleColor.Yellow;
                Console.WriteLine("*Nearby you see\n1.saw\n2.nailfile\n3.shovel\n4.???\n5.handgun");
                string CaCh = Console.ReadLine();
                Console.BackgroundColor = ConsoleColor.Black;
                Console.ForegroundColor = ConsoleColor.White;
                if (CaCh == "1")
                {
                    Console.WriteLine("**You pick up the saw");
                    Console.ReadKey();
                    Console.WriteLine("*You realise it's not a metal saw");
                    Console.ReadKey();
                    Console.WriteLine("*You put it back down");
                }
                if (CaCh == "2")
                {
                    Console.WriteLine("**You pick up the nailfile");
                    Console.ReadKey();
                    Console.WriteLine("*You start using the file on the bars of the cage");
                    Console.ReadKey();
                    Console.WriteLine("*After a long time the bar breaks and you get out of the cage");
                    break;
                }
                if (CaCh == "3")
                {
                    Console.WriteLine("**You pick up the shovel");
                    Console.ReadKey();
                    Console.WriteLine("*You look below and you see that there is no bottom part on this cage");
                    Console.ReadKey();
                    Console.WriteLine("*You just lift the cage and walk out");
                    break;
                }
                if (CaCh == "4")
                {
                    Console.WriteLine("???");
                    Console.ReadKey();
                    Console.WriteLine("You stand there in confusion");
                    Console.ReadKey();
                    Console.WriteLine("You decide to reconsider you choice");
                }
                if (CaCh == "5")
                {
                    Console.BackgroundColor = ConsoleColor.Black;
                    Console.ForegroundColor = ConsoleColor.Red;
                    Console.WriteLine("*Well that's another way you can undestand the words 'a way out of the cage'");
                    Console.ReadKey();
                    Console.WriteLine("**You pick up the gun");
                    Console.ReadKey();
                    Console.WriteLine("...");
                    Console.ReadKey();
                    using (StreamReader End = new StreamReader(path + @"\The_End.txt"))
                    {
                        string Tend = End.ReadToEnd();
                        Console.WriteLine(Tend);
                        Console.ReadKey();
                        Console.BackgroundColor = ConsoleColor.Black;
                        Console.ForegroundColor = ConsoleColor.White;
                        Environment.Exit(0);
                    }
                }
                else
                {
                }
            }
            Console.WriteLine("*You explore around");
            Console.ReadKey();
            Console.WriteLine("Suddenly you see a person appear, dabbing");
            Console.ReadKey();
            Console.WriteLine("???: Welcome, We've been excpeting you");
            Console.ReadKey();
            Console.WriteLine("*You realise this might be the chosen one");
            Console.ReadKey();
            Console.WriteLine("Mr.B: You must be Jake Paul");
            Console.ReadKey();
            Console.WriteLine("Jake.P: You guessed it");
            Console.ReadKey();
            Console.WriteLine("Jake.P: But now i must stop you, i know why you're here, you're here to stop dabbing, you're here to kill me!");
            Console.ReadKey();
            Console.WriteLine("*You stay silent");
            Console.ReadKey();
            Console.WriteLine("Jake.P: Well come and fight me you coward");
            JakeBoss.gaydar();
            Console.WriteLine("*Jake paul falls down in defeat");
            Console.ReadKey();
            Console.WriteLine("*You realise that you can finaly go home");
            Console.ReadKey();
            Console.WriteLine("*You've finally defeated dabbing");
            Console.ReadKey();
            Console.WriteLine("*You walk outside in victory");
            Console.ReadKey();
            Console.WriteLine(".....\n........\n........");
            Console.ReadKey();
            Console.WriteLine("Mr.B: Oh no, how, how are they still effected by dabbing");
            Console.ReadKey();
            Console.WriteLine("*I thought i killed the chosen one");
            Console.ReadKey();
            Console.WriteLine("*Why is dabbing still here");
            Console.ReadKey();
            Console.WriteLine("Ol Johnny: You fool, you can't defeat dabbing so easily");
            Console.ReadKey();
            Console.WriteLine("Mr.B: Johnny?");
            Console.ReadKey();
            Console.WriteLine("Ol Johnny: The prophecy was a lie, They thought he was the best, the strongest and, the wisest. They were wrong");
            Console.ReadKey();
            Console.WriteLine("Ol Johnny: They say there is something much worse out there.... \nThey described him as a blue big monster, who is the best at dabbing");
            Console.ReadKey();
            Console.WriteLine("Mr.B: Where could i find him");
            Console.ReadKey();
            Console.WriteLine("Ol Johnny: .\n.\n.\n.\n.");
            Console.ReadKey();
            Console.WriteLine("Ol Johnny: No one knows");
            Console.ReadKey();
            Console.WriteLine("Ol Johnny: i would say you should start by 'Dom kal'marov' house");
            Console.ReadKey();
            Console.WriteLine("Mr.B: Thank you Johnny");
            Console.ReadKey();
            Console.WriteLine("*You walk out the house and go search for the 'Dom kal'marov' building");
            Console.ReadKey();
            RoadToKlamaRov.RoToKalMa();
        }