Esempio n. 1
0
        public static void TakeBarlowTollRoad(Player player, Shop shop, List <Landmarks> listOfLandmarks)
        {
            Console.Clear();
            Console.WriteLine("You must pay $8.00 to travel the");
            Console.WriteLine("Barlow road. Are you willing to do");
            Console.WriteLine("this?");
            string TakeTollRoad = Console.ReadLine();

            if (TakeTollRoad == "y" || TakeTollRoad == "yes")
            {
                if (player.money < 8)
                {
                    Console.Clear();
                    Console.WriteLine("");
                    headerWithDate(player);
                    Console.WriteLine("");
                    Console.WriteLine("You do not have enough");
                    Console.WriteLine("money to pay for the Road.");
                    Console.WriteLine("");
                    InputDetection.Space();
                }
                else
                {
                    Cycle(player, shop, listOfLandmarks);
                }
            }
            else
            {
                Alternate3(player, shop, listOfLandmarks);
            }
        }
Esempio n. 2
0
        public static void differentPacesmean(Player player)
        {
            Console.Clear();
            Console.WriteLine("steady - You travel about 8 hours a");
            Console.WriteLine("day, taking frequent rests. You take");
            Console.WriteLine("care not to get too tired");
            Console.WriteLine("");
            Console.WriteLine("strenous - You travel about 12 hours");
            Console.WriteLine("a day, starting just after sunrise");
            Console.WriteLine("and stopping shorty before sunset.");
            Console.WriteLine("You stop to rest only when necessary.");
            Console.WriteLine("You finish each day feeling very");
            Console.WriteLine("tired");
            Console.WriteLine("");
            Console.WriteLine("grueling - You travel about 16 hours");
            Console.WriteLine("a day, starting before sunrise and");
            Console.WriteLine("continuing until dark. You almost");
            Console.WriteLine("never stop to rest. You do not get");
            Console.WriteLine("enough sleep at night. You finish");
            Console.WriteLine("each day feeling absolutely");
            Console.WriteLine("exhausted, and your health suffers.");
            Console.WriteLine("");

            InputDetection.Space();
        }
Esempio n. 3
0
 public static void CheckSupplies(Player player)
 {
     Supplies(player);
     Console.WriteLine("          money left             ${0}", player.money);
     Console.WriteLine("");
     InputDetection.Space();
 }
Esempio n. 4
0
 public static void Map(Player player)
 {
     Console.Clear();
     Console.WriteLine("             Map of the");
     Console.WriteLine("            Oregon Trail");
     Console.WriteLine("");
     InputDetection.Space();
 }
Esempio n. 5
0
 public static void ShowRiverCrossing(Player player)
 {
     Console.Clear();
     Console.WriteLine("Beautiful Picture of {0}", player.Landmark);
     Console.WriteLine("         {0}", player.Landmark);
     headerWithDate(player);
     InputDetection.Space();
 }
Esempio n. 6
0
 public static void WaitToSee(Player player)
 {
     Console.Clear();
     Console.WriteLine("{0}", player.Landmark);
     headerWithDate(player);
     Console.WriteLine("");
     Console.WriteLine("You camp near the river for a day.");
     Console.WriteLine("");
     InputDetection.Space();
     player.date = player.date.AddDays(1);
 }
Esempio n. 7
0
 public static void CaulkTheWagon(Player player, Shop shop, List <Landmarks> listOfLandmarks)
 {
     Console.Clear();
     Console.WriteLine("Caulk the wagon!");
     System.Threading.Thread.Sleep(1000);
     Console.Clear();
     Console.WriteLine("You had no trouble");
     Console.WriteLine("floating the wagon");
     Console.WriteLine("across.");
     InputDetection.Space();
     player.LeavingALandmark = true;
     player.InitLeg          = true;
     Cycle(player, shop, listOfLandmarks);
 }
Esempio n. 8
0
        public static void TakeFerry(Player player, Shop shop, List <Landmarks> listOfLandmarks)
        {
            setSomeDays(player);

            waitingAfterFerry(player, shop, listOfLandmarks);

            InputDetection.FerryYesOrNo(player, shop, listOfLandmarks);
            if (player.gameMenuInput == "Y")
            {
                if (player.money < 5)
                {
                    Console.Clear();
                    Console.WriteLine("Kansas River crossing");
                    headerWithDate(player);
                    Console.WriteLine("");
                    Console.WriteLine("You do not have enough");
                    Console.WriteLine("money to pay for the ferry.");
                    Console.WriteLine("");
                    InputDetection.Space();
                }
                else
                {
                    while (player.someDays > 0)
                    {
                        player.date = player.date.AddDays(1);
                        waitingAfterFerry(player, shop, listOfLandmarks);
                        player.someDays -= 1;
                        System.Threading.Thread.Sleep(1000);
                    }
                    Console.Clear();
                    Console.WriteLine("Taking the ferry!");
                    System.Threading.Thread.Sleep(1000);
                    Console.Clear();
                    Console.WriteLine("The Ferry got your party");
                    Console.WriteLine("and wagon safely across.");
                    InputDetection.Space();
                    player.LeavingALandmark = true;
                    player.InitLeg          = true;
                    player.gameMenuInput    = "";
                    Cycle(player, shop, listOfLandmarks);
                }
            }
            else
            {
                RiverCrossingMenu(player, shop, listOfLandmarks);
            }
        }
Esempio n. 9
0
        public static void TalkToPeople(Player player)
        {
            Console.WriteLine("A trader named Jim tells you:");
            Console.WriteLine("");
            Console.WriteLine("Better take extra set of");
            Console.WriteLine("clothing. Trade'em to Indians");
            Console.WriteLine("for fresh vegetables, fish, or");
            Console.WriteLine("meat. It's well worth hiring");
            Console.WriteLine("an Indian guide at river");
            Console.WriteLine("crossings. Expect to pay them!");
            Console.WriteLine("They're sharp traders, not");
            Console.WriteLine("easily cheated.");
            Console.WriteLine("");
            Console.WriteLine("");

            InputDetection.Space();
        }
Esempio n. 10
0
        public static void GetMoreInfo(Player player, Shop shop, List <Landmarks> listOfLandmarks)
        {
            Console.Clear();
            Console.WriteLine("{0}", player.Landmark);
            headerWithDate(player);
            Console.WriteLine("");
            Console.WriteLine("To ford a river means to");
            Console.WriteLine("pull your wagon across a");
            Console.WriteLine("shallow part of the river,");
            Console.WriteLine("with the oxen still");
            Console.WriteLine("attached");
            Console.WriteLine("");
            InputDetection.Space();

            Console.Clear();
            Console.WriteLine("{0}", player.Landmark);
            headerWithDate(player);
            Console.WriteLine("");
            Console.WriteLine("To caulk the wagon means to");
            Console.WriteLine("seal it so that no water can");
            Console.WriteLine("get in. The wagon can then");
            Console.WriteLine("be floated across like a");
            Console.WriteLine("boat");
            Console.WriteLine("");
            InputDetection.Space();

            Console.Clear();
            Console.WriteLine("{0}", player.Landmark);
            headerWithDate(player);
            Console.WriteLine("");
            Console.WriteLine("To use ferry means to put");
            Console.WriteLine("your wagon on top of a flat");
            Console.WriteLine("boat that belongs to someone");
            Console.WriteLine("else. The owner of the");
            Console.WriteLine("ferry will take your wagon");
            Console.WriteLine("across the river");
            Console.WriteLine("");
            InputDetection.Space();
            RiverCrossing(player, shop, listOfLandmarks);
        }
Esempio n. 11
0
 public static void RiverCrossing(Player player, Shop shop, List <Landmarks> listOfLandmarks)
 {
     if (player.Landmark.EndsWith("crossing"))
     {
         ;
     }
     {
         Console.Clear();
         Console.WriteLine("{0}", player.Landmark);
         headerWithDate(player);
         Console.WriteLine("");
         Console.WriteLine("You must cross the river in");
         Console.WriteLine("order to continue. The");
         Console.WriteLine("river at this point is ");
         Console.WriteLine("currently {0} feet across,", player.riverWidth);
         Console.WriteLine("and {0} feet deep in the", player.riverDepth);
         Console.WriteLine("middle");
         Console.WriteLine("");
         InputDetection.Space();
         player.krc = true;
         RiverCrossingMenu(player, shop, listOfLandmarks);
     }
 }