public void CharacterSelector()
        {
            Console.WriteLine("Enter the class of character would you like to select:\n\nwizard\npaladin\ndwarf\n\n");
            string characterSelection = Console.ReadLine();

            switch (characterSelection)
            {
            case "wizard":
                wizard = new Wizard();
                wizard.WizardIntroduction();
                wizard.AdventureSelector();
                break;

            case "paladin":
                paladin = new Paladin();
                paladin.PaladinIntroduction();
                paladin.AdventureSelector();
                break;

            case "dwarf":
                dwarf = new Dwarf();
                dwarf.DwarfIntroduction();
                dwarf.AdventureSelector();
                break;

            default:
                Console.WriteLine("Please enter your selection carefully, check spelling and case sensitivity.");
                Console.ReadLine();
                CharacterSelector();
                break;
            }
        }
示例#2
0
        //member methods(actions)
        public void DesertAdventure(Paladin paladin)
        {
            Console.WriteLine("You have selected the endless desert.\n\n After a long day of navigating the desert the sun has taken its toll, you must choose between three places to seek refuge for the night and rest.\nTo your left, you see a large cresent shaped opening looks like an inviting shaded area to escape the sun.\nThe right offers a large collection of desert rocks to traverse under.\nStraight ahead you see a hole you could slide down to get to cooler air underground. Type left, center, or right.");
            puzzleSelection = Console.ReadLine();
            switch (puzzleSelection)
            {
            case "Left":
                Console.WriteLine("EPIC FAIL: You enter the space, relaxing and resting in the shade this refuge provides.\nYou close your eyes to rest as night falls, but the sound of tapping claws ring from deep in the darkness.\nA giant scorpion appears, you try to run but it strikes you with its barp and venom flows through your veins.\nYour last breath screams out in horror as the scoprion lifts you from the ground.");
                Console.ReadLine();
                break;

            case "center":
                Console.WriteLine("EPIC FAIL: You slide down the hole grasping on to the sand and digging your heels into the sides to control your speed.\nA welcomed temperature drop provides momentary relief, however as you hit flat ground and regain your footing, you ear a high pitched hiss behind you.\nA titanboa snaps its fangs like a whip sinking them into your shoulders. You feel the venom rushing through your veins, as the giant snake begins to swallow you whole.");
                Console.ReadLine();
                break;

            case "right":
                Console.WriteLine("You feel safe under the rocks, but quickly realize this is home to another creature. A giant horned lizard crawls out from under the rocks.\nIt lunges towards you snapping its jaws at your torso.\nAdrenline rushes through your legs as you quickly leap to higher ground and draw your daggers in each hand.\nDiving down from above, you plunge your dagger into the eyes of the lizard.\nThe lizard throws you off and you slam into the rocks. Gathering yourself, you notice a glowing beam of light exiting the mouth of the lizard.\nThe tongue of the lizard attempts to sense your location. You quickly slip under the lizard and drive both daggers into the lizard's lungs. The lizard cough, a loud high pitched ping rings out in the rocks below./nThe lizard retreates up the mountain. You investage the noise further and discover the same light shining in the desert sun. You found it... THE WISDOM GEM!");
                Console.ReadLine();
                break;

            default:
                Console.WriteLine("Please enter your selection carefully, check spelling and case sensitivity.");
                Console.ReadLine();
                DesertAdventure(paladin);
                break;
            }
        }
示例#3
0
        //member methods(actions)
        public void RiverAdventure(Paladin paladin)
        {
            paladinName = "Anduin the Helmsan";
            Console.WriteLine("You have selected the river.\n\nSpeeding down the rapids of the Elven river, you use all your strength to keep your raft under control.\nYou are forced to choose which tributary to head down.\nYou know the Wisom Jewel is close, to the right you hear the loud thunderous roar of water rushing.\nDirectly in front of you, a dark ominous cloud looms overhead. Finally to the right, a dense mysterious fog rolls in.\n\nType left, center, or right to guide your raft and discover your fate.");
            string puzzleSelection = Console.ReadLine();

            switch (puzzleSelection)
            {
            case "left":
                Console.WriteLine("EPIC FAIL: The loud thunderous waters could only mean one thing a great waterfall was ahead.\nYou fall tragically to your death.");
                Console.ReadLine();
                break;

            case "center":
                Console.WriteLine("As you continue forward start ahead, the Dark Elven Lord Asurith fires a flaming arrow grazing your shoulder and finally landing into the bow of your raft.\n You quickly dive into the river and make your way to cover behind a giant mossy boulder on shore.\nYou examine Asurith and see his chest glowing with a brilliant purple light.\nThe Wisdom Jewel is in sight! Underestimating his foe, Asurith rushes Anduin. Although an expert archer, in close quarters you hold the upper hand.\n You draw your dagger and parry Asurrith's attack. While grasping the rear of his cloak, you quickly cut loose the necklace holding the Jewel and slip into the waters./nStaying out of sight underwater, you escape to your raft. The Paladins can now return to greatness!");
                Console.ReadLine();
                break;

            case "right":
                Console.WriteLine("EPIC FAIL: The fog grows more and more dense as you journey down the tributary. You cough and gasp for breath and become lightheaded.\nSlowly your vision fades to black.");
                Console.ReadLine();
                break;

            default:
                Console.WriteLine("Please enter your selection carefully, check spelling and case sensitivity.");
                Console.ReadLine();
                RiverAdventure(paladin);
                break;
            }
        }