Exemple #1
0
 public void MemberInit()
 {
     ComplementWithVersion();
     sex            = 0;
     exType         = 0;
     lastname       = "";
     firstname      = "";
     nickname       = "";
     callType       = -1;
     personality    = 0;
     bloodType      = 0;
     birthMonth     = 1;
     birthDay       = 1;
     clubActivities = 0;
     voiceRate      = 0.5f;
     awnser         = new Awnser();
     weakPoint      = -1;
     denial         = new Denial();
     attribute      = new Attribute();
     aggressive     = 0;
     diligence      = 0;
     kindness       = 0;
     interest       = new Interest();
     interest.MemberInit();
 }
Exemple #2
0
 public void ComplementWithVersion()
 {
     callType = -1;
     if (version.CompareTo(new Version("0.0.1")) == -1)
     {
         awnser = new Awnser();
     }
     if (version.CompareTo(new Version("0.0.2")) == -1)
     {
         denial = new Denial();
     }
     if (version.CompareTo(new Version("0.0.3")) == -1)
     {
         attribute = new Attribute();
     }
     if (version.CompareTo(new Version("0.0.4")) == -1)
     {
         voiceRate = 0.5f;
     }
     version = (Version)CurrentVersion.Clone();
 }
        public void Run()
        {
            Console.ForegroundColor = ConsoleColor.White;
            Console.WriteLine("Hey BOB GET UP");

            Thread.Sleep(TimeSpan.FromSeconds(1.5));
            Console.WriteLine("your Wife's telling you, It's Time to get Up");

            Awnser result = AskQuestion("Do you wake up? y/n:", 'y', 'n');

            switch (result)
            {
            case Awnser.No:
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("your Wife Came Up and stabbed you to death while you slept");
                Console.WriteLine("You Died a not so peacefully Death While You Slept");
                Console.WriteLine("GAME OVER");
                Console.ForegroundColor = ConsoleColor.DarkCyan;
                Console.WriteLine("Well What Did You Think Would Happen");
                return;

            case Awnser.Yes:
                Console.WriteLine("You Wake up");
                Console.WriteLine("And are Ready to Start The Day");
                Console.ForegroundColor = ConsoleColor.Yellow;
                Console.WriteLine("You Smell Breakfast");
                Console.ForegroundColor = ConsoleColor.White;
                break;

            case Awnser.Unknown:
                Thread.Sleep(TimeSpan.FromSeconds(1));
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("you hesitated and Your Wife Came Up And Stabbed You To Death");
                Console.WriteLine("GAME OVER");
                Console.ForegroundColor = ConsoleColor.Cyan;
                Console.WriteLine("Perhaps Choose an option on screen Next time");
                return;
            }


            var multiChoiceAwnser = AskMultiplyChoiceQuestion(new List <Question>
            {
                new Question
                {
                    Value = "Decide What To Wear"
                },
                new Question
                {
                    Value = "go downstair's To Eat breakfast"
                },
                new Question
                {
                    Value = "Go Outside (Naked)"
                }
            });

            switch (multiChoiceAwnser.AwnseredNumber)
            {
            case 1:
                Console.WriteLine("Do You Wear?");
                break;

            case 2:
                Console.ForegroundColor = ConsoleColor.DarkMagenta;
                Console.WriteLine("you Went downstairs and tred to eat breakfast naked. Your wife screams Robber and throws a knife at you");
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("you die...");
                Console.WriteLine("GAME OVER");
                Console.ForegroundColor = ConsoleColor.Cyan;
                Console.WriteLine("Perhaps IT's Best not Surprize Your Wife Like That (I Mean seriously Dude Chill)");
                return;

            case 3:
                Console.ForegroundColor = ConsoleColor.Magenta;
                Console.WriteLine("You Decide to go Commando");
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("the police see you naked and they beat you to Death...");
                Console.WriteLine("GAME OVER");
                Console.ForegroundColor = ConsoleColor.Cyan;
                Console.WriteLine("Perhaps IT's Best not to Go outside nude in communist czech");
                return;

            default:
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("you hesitated and DIED");
                Console.WriteLine("GAME OVER");
                Console.ForegroundColor = ConsoleColor.Cyan;
                Console.WriteLine("Perhaps Choose an option on screen Next time");
                return;
            }

            multiChoiceAwnser = AskMultiplyChoiceQuestion(new List <Question>
            {
                new Question
                {
                    Value = "your Black shirt And Pants With a Skee Mask"
                },
                new Question
                {
                    Value = "Your Normal Suit and Tie"
                },
                new Question
                {
                    Value = "your Monkey Suit"
                },
                new Question
                {
                    Value = "your Bee Suit"
                }
            });

            switch (multiChoiceAwnser.AwnseredNumber)
            {
            case 1:
                Console.WriteLine("You Decide to Wear");
                Console.ForegroundColor = ConsoleColor.DarkGray;
                Console.WriteLine("your Black shirt And Pants With a Skee Mask");
                Console.ForegroundColor = ConsoleColor.White;
                Console.WriteLine("You Walk DownStairs");
                Console.WriteLine("Your Wife See's You in a Black shirt And Pants With a Skee Mask, She Screem's Theif and Throw's her knife at you");
                Console.WriteLine("Bad Luck For You She Is So Terrified Her instinstics Kick in, SHE HITS YOU SQARE IN THE FOREHEAD YOU FALL BACK AND BLEED OUT");
                Console.WriteLine("The Wife: It was an Accident");
                Console.WriteLine("You Know Gazing Down at them From Heaven, She Meant To kill You, She even Planned What She would do after you were dead, she was going to disney world");
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("You Got THE BAD ending");
                return;

            case 2:
                Console.WriteLine("You Decide to Wear");
                Console.ForegroundColor = ConsoleColor.Yellow;
                Console.WriteLine("Your Normal Suit and Tie");
                Console.ForegroundColor = ConsoleColor.White;
                Console.WriteLine("You Walk DownStairs");
                Console.WriteLine("Your Wife See's You in a Your Normal Suit and Tie, She Throw's her knife at you (You Think To Yourself After all Iv'e Worked For Her, How Could she KILL Me)");
                Console.WriteLine("Luckly She Misses, She Say's that Shes Done With You And that She's Leaveing She Open's The Door Just Then You Here Woo Hoo ha ha And a Monkey");
                Console.WriteLine("Bite's Your Wife's Neck HER Head Is Barely Still Attached to her Body Then You Hear a Buzzing But Before you Can See What it is");
                Console.WriteLine("The Monkey Bite's off Your Leg as You Sit There Bleeding out The Source of the Buzzing Break's through Your Kitchen Window");
                Console.WriteLine("it's A SWARM OF BEE's, The Monkey Run's Away Leaveing Out the Front Door, Then The Bee's Sting You TO DEATH in there Fenzy");
                Console.ForegroundColor = ConsoleColor.DarkRed;
                Console.WriteLine("You Got PAINFUL ending");
                return;

            case 3:
                Console.WriteLine("You Decide to Wear");
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("a Monkey Suit");
                Console.ForegroundColor = ConsoleColor.White;
                Console.WriteLine("You Walk DownStairs");
                Console.WriteLine("Your Wife See's You in a Bee Suit, She Screem's Theif and Throw's her knife at you");
                Console.WriteLine("Luckly She Misses, Just Then You Here Woo Hoo ha ha And a Monkey Break's through Your Front Door He Look's Terrified, Then He See's Your Monkey Suit Suit");
                Console.WriteLine("He Thinks Your an Alpha Male, And Run's Back Were he Came From");
                Console.WriteLine("Luckly She Misses, She Say's That Shes Done With You And that She's Leaveing She Open's The Door Just Then You Hear Some Buzzing");
                Console.WriteLine("A SWARM OF ANGRY BEE'S Come throw The Newly Open Door And Sting Your Wife To Death Then in there now calm state Return To The Outside");
                Console.WriteLine("You call the Police And inform them that your Wife was Stung To Death, They Tell You That They Will Be there Shortly");
                Console.WriteLine("When The Police Arrive They See Your wife Dead, However She Show No Swelling And it Look's Like You Beat her To Death With The Knife");
                Console.WriteLine("Seeing This They Cuff You and Send you off to jail Despite Your Bizarre Claims");
                Console.ForegroundColor = ConsoleColor.Yellow;
                Console.WriteLine("You Got THE CRAZY HUSBEND ending");
                return;

            case 4:
                Console.WriteLine("You Decide to Wear");
                Console.ForegroundColor = ConsoleColor.Yellow;
                Console.WriteLine("your Bee Suit");
                Console.ForegroundColor = ConsoleColor.White;
                Console.WriteLine("You Walk DownStairs");
                Console.WriteLine("Your Wife See's You in a Bee Suit, She Screem's Theif and Throw's her knife at you");
                Console.WriteLine("Luckly She Misses, Just Then You Here Woo Hoo ha ha And a Monkey Break's through Your Front Door he Look's Terrified, He See's Your Bee Keeper Suit");
                Console.WriteLine("It Scare's Him He See's Your Wife and Attack's Her Biteing Her Neck, She's Dying, Just Then Some Bee's Come through Your Front Door");
                Console.WriteLine("You Guess That's Why The Monkey Was So Scared Sence Your Wearing A Bee Keeper Suit You Can Just Walk Out the Front Door");
                Console.WriteLine("You Run To Get Help And Get Ran Over By a Car");
                Console.ForegroundColor = ConsoleColor.Cyan;
                Console.WriteLine("You Got The TRUE ending");
                Console.WriteLine("Hope You Enjoyed");
                Console.WriteLine("Bobs Bizarre Adveture");
                break;
            }
        }