コード例 #1
0
ファイル: Plains.cs プロジェクト: SkyCodes99/Text-Adventure
 public static void plainsPrintTwoOutcomeOne()
 {
     EnterKey.LineRead();
     Console.WriteLine("The sun is shining and you hear birds chirping nearby.");
     EnterKey.LineRead();
     Console.WriteLine("There are flowers that have recently bloomed giving off the most pleasant of smells.");
     EnterKey.LineRead();
     Console.WriteLine("Do you pick a flower?");
     Console.WriteLine("Yes or No");
     PlainsOutcomes.plainsOutcomeScenarioTwo();
 }
コード例 #2
0
        public static void plainsPrintOne()
        {
            string[] messageChoiceOne = new string[3] {
                "You run down the path towards the Plains.",
                "You carefully make your way down the path towards the Plains.", "You walk down the path towards the Plains."
            };
            Random pathSelectionNumber = new Random();
            int    pathNum             = pathSelectionNumber.Next(messageChoiceOne.Length);

            Console.WriteLine(messageChoiceOne[pathNum]);
            PlainsOutcomes.PlainsOutcomeScenarioOne();
        }