Пример #1
0
        public static void RandomRules(Booger player, Heather opponent, Song song)
        {
            int rand = new Random().Next(0, 101);

            switch (opponent.Name)
            {
            case "Alaska":
            case "Roxxy Andrews":
            case "Detox":
                if (opponent.Name == "Roxxy Andrews" && song.Name == "Whip My Hair")
                {
                    Console.WriteLine("Roxy Andrews Just Pulled Off A Wig to Reveal Another Wig Underneath!!\nHer Talent is increased.");
                    opponent.Talent += 20;
                }
                if (rand > 80)
                {
                    Console.WriteLine("\nBattling his queen invoked \"RoLaskaTox\"!\nRoxxy, Alaska, and Detox Merge into One MEGAQUEEN...\nYou are Petrified, but Ru Throws " +
                                      "you a Golden Wig that Boosts Your Nerve");
                    opponent.Name        = "RoLaskaTox";
                    opponent.Charisma   *= 3;
                    opponent.Uniqueness *= 3;
                    opponent.Nerve      *= 3;
                    opponent.Talent     *= 3;

                    opponent.Nerve *= 5;
                }
                break;

            case "Willam":

                if (rand > 90)
                {
                    Console.WriteLine("Ru: Willam... will you please step forward...\nIt has come to my attention that you have broken the rules.");
                    Console.WriteLine("Rules that are in place to protect The fairness of this competition ");
                    Console.WriteLine("Your actions have consequences. Willam I have to ask you to leave the competition immediately");
                    opponent.Nerve = 0;
                }
                break;

            case "DiDa Ritz":
                if (song.Name == "This Will Be (An Everlasting Love)")
                {
                    Console.WriteLine("DiDa Ritz is Performing the Most EXPLOSIVE Lip Sync Anyone Has Seen.\nYou Lose All but 1 of Your Nerve\nIt Would Take a Miracle For" +
                                      " You to Win This One...\n");
                    player.Nerve = 1;
                }
                break;

            default:
                break;
            }
        }
Пример #2
0
        static void Main(string[] args)
        {
            Cooler   cooler   = new Cooler();
            Heather  heather  = new Heather();
            HotHouse hotHouse = new HotHouse
            {
                CurrentTemperature = 15
            };

            hotHouse.TooHot  += heather.Warm;
            hotHouse.TooCold += cooler.Cold;
            //Console.WriteLine(hotHouse);
            for (int i = 0; i < 5; i++)
            {
                int tmp = new Random().Next(-2, 2);
                hotHouse.CurrentTemperature += tmp;
            }
        }
Пример #3
0
        public static void Loot(Booger player, Heather opponent, Random random)
        {
            byte   rand              = (byte)random.Next(0, 15);
            string droppedItem       = "";
            string boostedQuality    = "";
            byte   increasedByNumber = 0;

            switch (rand)
            {
            case 0:
                droppedItem       = "CoCo's Dorito Clutch";
                boostedQuality    = "Charisma";
                increasedByNumber = 10;
                player.Charisma  += increasedByNumber;
                break;

            case 1:
                droppedItem       = "Roxxy's Discarded Wig";
                boostedQuality    = "Talent";
                increasedByNumber = 13;
                player.Talent    += increasedByNumber;
                break;

            case 2:
                droppedItem       = "Violet Chachki's 2-in-1 Outfit";
                boostedQuality    = "Nerve";
                increasedByNumber = 70;
                player.Nerve     += increasedByNumber;
                break;

            case 3:
                droppedItem       = "Robbie Turner's Roller Skates";
                boostedQuality    = "Talent";
                increasedByNumber = 10;
                player.Talent    += increasedByNumber;
                break;

            case 4:
                droppedItem       = "Valentina's Mask";
                boostedQuality    = "Nerve";
                increasedByNumber = 100;
                player.Nerve     += increasedByNumber;
                break;

            case 5:
                droppedItem       = "Shasha Velour's Rose Petals";
                boostedQuality    = "Nerve";
                increasedByNumber = 150;
                player.Nerve     += increasedByNumber;
                break;

            case 6:
                droppedItem       = "Sharon Needles' Apocalyptic Drag Look";
                boostedQuality    = "Charisma";
                increasedByNumber = 13;
                player.Charisma  += increasedByNumber;
                break;

            case 7:
                droppedItem       = "Lil' Pound Cake";
                boostedQuality    = "Nerve";
                increasedByNumber = 200;
                player.Nerve     += increasedByNumber;
                break;

            case 8:
                droppedItem       = "Ornacia";
                boostedQuality    = "Talent";
                increasedByNumber = 14;
                player.Talent    += increasedByNumber;
                break;

            case 9:
                droppedItem       = "That Something On Pearl's Face";
                boostedQuality    = "Charisma";
                increasedByNumber = 10;
                player.Charisma  += increasedByNumber;
                break;

            case 10:
                droppedItem       = "One of Bob the Drag Queen's Purses";
                boostedQuality    = "Charisma";
                increasedByNumber = 10;
                player.Charisma  += increasedByNumber;
                break;

            case 11:
                droppedItem       = "CoCo's Dorito Clutch";
                boostedQuality    = "Charisma";
                increasedByNumber = 10;
                player.Charisma  += increasedByNumber;
                break;

            case 12:
                droppedItem       = "Bianca Del Rio's Officer Bryd Puppet";
                boostedQuality    = "Charisma";
                increasedByNumber = 10;
                player.Charisma  += increasedByNumber;
                break;

            case 13:
                droppedItem       = "Ru's Glamazon CD";
                boostedQuality    = "Talent";
                increasedByNumber = 200;
                player.Talent    += increasedByNumber;
                break;;

            default:
                break;
            }
            if (droppedItem != "")
            {
                Console.WriteLine("{0} dropped {1}! Your {2} has been boosted by {3}!\n", opponent.Name, droppedItem, boostedQuality, increasedByNumber);
            }
            else
            {
                Console.WriteLine("This Queen Dropped No Items");
            }
        }
Пример #4
0
        static void PlayOptionOne(Booger booger)
        {
            booger.Nerve += 200;
            bool exit           = false;
            byte heatherCounter = 0;

            do
            {
                Heather heather    = Heather.GenerateHeather();
                Heather heatherTwo = Heather.GenerateHeather();
                while (heather.Name == heatherTwo.Name)
                {
                    heatherTwo = Heather.GenerateHeather();
                }
                Song singleSong = new Song(Song.SelectASong());
                Console.WriteLine($"You are in the bottom 3 with {heather.Name} and {heatherTwo.Name}");
                for (int i = 0; i < 50; i++)
                {
                    Console.Write('-');
                    Thread.Sleep(75);
                }
                int draw = new Random().Next(0, 2);
                if (draw == 0)
                {
                    heather = heatherTwo;
                }
                Console.WriteLine($"\nRuPaul: {booger.Name}, {heather.Name}...  I'm sorry my dears but you are both up for elimination"); Thread.Sleep(4000);
                Console.WriteLine($"\tEach of you has been asked to prepare a lip sync to \"{singleSong.Name}\" by {singleSong.Artist}"); Thread.Sleep(4000);
                Console.WriteLine("\tTwo queens stand before me, ladies this is your last chance to impress me and save yourself from elimination."); Thread.Sleep(4000);
                Console.Write("\tThe time has come for you to lipsync");
                for (int i = 0; i < 3; i++)
                {
                    Console.Write('.');
                    Thread.Sleep(900);
                }
                Console.Write("FOR"); Thread.Sleep(1000);
                Console.Write(" YOUR"); Thread.Sleep(1000);
                Console.WriteLine(" LIFE!"); Thread.Sleep(1000);
                //Lightning.LightningFlashes();
                Console.Write("RuPaul: Good Luck"); Thread.Sleep(1000);
                Console.WriteLine(" and don't *&#! it up!"); Thread.Sleep(2000);
                Song.PlaySong(singleSong);
                Console.Clear();
                LipSync.RandomRules(booger, heather, singleSong);
                Random rand  = new Random();
                bool   exit2 = false;
                do
                {
                    Console.WriteLine("\nPlease Choose and action:\nL) Lipsync for Your Life\nT) Try to get Away with Lip Syncing with a Mask on\nP) Player Info\nO) Opponent Info\nR) Rules\nX) Exit");
                    ConsoleKey userChoice = Console.ReadKey(true).Key;
                    Console.Clear();
                    switch (userChoice)
                    {
                    case ConsoleKey.L:
                        LipSync.ForYourLife(booger, heather);
                        if (heather.Nerve <= 0)
                        {
                            Console.WriteLine("\n{0} You're a Winner Baby", booger.Name);
                            Console.WriteLine("\n{0} Now Sashay Away....\n", heather.Name);
                            LipSync.Loot(booger, heather, rand);
                            heatherCounter++;
                            Console.WriteLine("You defeated {0} Queen{1}", heatherCounter, heatherCounter == 0 ? "" : "s");
                            exit2 = true;
                        }
                        else
                        {
                            LipSync.ForYourLife(heather, booger);
                        }
                        break;

                    case ConsoleKey.T:
                        Console.WriteLine("You Ask RuPaul To Keep the Mask On");
                        Console.WriteLine($"{heather.Name} knows You Don't Know the Words and Throws Shade on Twitter!");
                        LipSync.ThrowShade(heather, booger);
                        exit2 = true;
                        Console.WriteLine("You've defeated {0} Queen{1}", heatherCounter, heatherCounter == 0 ? "" : "s");
                        break;

                    case ConsoleKey.P:
                        Console.WriteLine("Player Info");
                        Console.WriteLine(booger);
                        break;

                    case ConsoleKey.O:
                        Console.WriteLine("Opponent Info");
                        Console.WriteLine(heather);
                        break;

                    case ConsoleKey.R:
                        DisplayRules();
                        break;

                    case ConsoleKey.X:
                    case ConsoleKey.E:
                        booger.Nerve = 0;
                        exit2        = true;
                        exit         = true;
                        break;

                    default:
                        Console.WriteLine("Roxxy Andrews Made it Clear... That Was Not a Valid Selection...");
                        break;
                    }

                    if (booger.Nerve <= 0)
                    {
                        Console.WriteLine("\n{0} You're a Winner Baby", heather.Name);
                        Console.WriteLine("{0} Now Sashay Away....\n", booger.Name);
                        Console.WriteLine("You defeated {0} Queen{1}", heatherCounter, heatherCounter == 1 ? "" : "s");
                        exit2 = true;
                        exit  = true;
                    }
                } while (!exit2);
            } while (!exit);
        }
Пример #5
0
        static void PlayOptionTwo(Booger player)
        {
            Console.WriteLine("Would you like to battle against:\n1) 4 Queens\n2) 8 Queens\n3) 16 Queens\n");
            byte userSelection = Convert.ToByte(Console.ReadLine());
            byte heatherNumber = 2;

            switch (userSelection)
            {
            case 1:
                heatherNumber = 4;
                break;

            case 2:
                heatherNumber = 8;
                break;

            case 3:
                heatherNumber = 16;
                break;
            }
            Heather[] heathers = new Heather[heatherNumber];
            Random    rand     = new Random();

            for (int i = 0; i < heatherNumber - 1; i++)
            {
                Random     rand2          = new Random();
                string     heatherName    = DragNames.GetHeatherDragName(false, (byte)rand.Next(0, 45));
                Speciality heatherSpecial = new Speciality(Heather.GenerateHeatherSpecial(heatherName));
                heathers[i] = (new Heather(heatherName, rand2.Next(0, 21), rand2.Next(5, 21),
                                           rand2.Next(60, 201), rand2.Next(21, 40), heatherSpecial, rand2.Next(10, 31)));
            }
            Speciality ruSpecial = new Speciality(Heather.GenerateHeatherSpecial("RuPaul"));

            heathers[heatherNumber - 1] = (new Heather("RuPaul", rand.Next(0, 21), rand.Next(5, 21),
                                                       rand.Next(60, 401), rand.Next(21, 40), ruSpecial, rand.Next(10, 31)));
            bool exit           = false;
            int  heatherCounter = 0;

            do
            {
                Song singleSong = new Song(Song.SelectASong());
                if (heatherCounter != heatherNumber - 1)
                {
                    Console.WriteLine($"You are up against {heathers[heatherCounter].Name}");
                    Console.WriteLine($"\nRuPaul: {player.Name}, {heathers[heatherCounter].Name}...  I'm sorry my dears but you are both up for elimination"); Thread.Sleep(4000);
                    Console.WriteLine($"\tEach of you has been asked to prepare a lip sync to \"{singleSong.Name}\" by {singleSong.Artist}"); Thread.Sleep(4000);
                    Console.WriteLine("\tTwo queens stand before me, ladies this is your last chance to impress me and save yourself from elimination."); Thread.Sleep(4000);
                }
                else
                {
                    Console.WriteLine("RuPaul: That is it, you are coming for my crown and I can't have it...");
                    Console.Write("You will now battle against the true Queen... Me! Now truly....");
                }
                Console.Write("\tThe time has come for you to lipsync");
                for (int j = 0; j < 3; j++)
                {
                    Console.Write('.');
                    Thread.Sleep(900);
                }
                Console.Write("FOR"); Thread.Sleep(1000);
                Console.Write(" YOUR"); Thread.Sleep(1000);
                Console.WriteLine(" LIFE!"); Thread.Sleep(1000);
                //Lightning.LightningFlashes();
                if (heatherCounter != heatherNumber - 1)
                {
                    Console.Write("RuPaul: Good Luck"); Thread.Sleep(1000);
                    Console.WriteLine(" and don't *&#! it up!"); Thread.Sleep(2000);
                }
                else
                {
                    Console.WriteLine("RuPaul: Good Luck...."); Thread.Sleep(1000);
                    Console.WriteLine("RuPaul Laughs"); Thread.Sleep(2000);
                }
                LipSync.RandomRules(player, heathers[heatherCounter], singleSong);
                Song.PlaySong(singleSong);
                bool exit2 = false;
                do
                {
                    Console.WriteLine("\nPlease Choose and action:\nL) Lipsync for Your Life\nP) Player Info\nR) Rules\nO) Opponent Info\nX) Exit");
                    ConsoleKey userChoice = Console.ReadKey(true).Key;
                    Console.Clear();
                    switch (userChoice)
                    {
                    case ConsoleKey.L:
                        LipSync.ForYourLife(player, heathers[heatherCounter]);
                        if (heathers[heatherCounter].Nerve <= 0)
                        {
                            Console.WriteLine("\n{0} You're a Winner Baby", player.Name);
                            Console.WriteLine("\n{0} Now Sashay Away....\n", heathers[heatherCounter].Name);
                            LipSync.Loot(player, heathers[heatherCounter], rand);
                            exit2 = true;
                            heatherCounter++;
                            Console.WriteLine("You've defeated {0} Queen{1}", heatherCounter, heatherCounter == 0 ? "" : "s");
                        }
                        else
                        {
                            LipSync.ForYourLife(heathers[heatherCounter], player);
                        }
                        break;

                    case ConsoleKey.P:
                        Console.WriteLine("Player Info");
                        Console.WriteLine(player);
                        break;

                    case ConsoleKey.O:
                        Console.WriteLine("Opponent Info");
                        Console.WriteLine(heathers[heatherCounter]);
                        break;

                    case ConsoleKey.R:
                        DisplayRules();
                        break;

                    case ConsoleKey.X:
                    case ConsoleKey.E:
                        player.Nerve = 0;
                        exit2        = true;
                        exit         = true;
                        break;

                    default:
                        Console.WriteLine("Roxxy Andrews Made it Clear... That Was Not a Valid Selection...");
                        break;
                    }

                    if (player.Nerve <= 0)
                    {
                        Console.WriteLine("\n{0} You're a Winner Baby", heathers[heatherCounter].Name);
                        Console.WriteLine("{0} Now Sashay Away....\n", player.Name);
                        Console.WriteLine("You defeated {0} Queen{1}", heatherCounter, heatherCounter == 0 ? "" : "s");
                        exit2 = true;
                        exit  = true;
                    }
                } while (!exit2);
            } while (!exit);
        }