コード例 #1
0
ファイル: Manager.cs プロジェクト: nekoVillanueva/PetShelter
        public void AdoptPet()
        {
            List <VpetBase> pets = VirtualPetShelter.GetPetValues();

            Console.WriteLine("What pet is being adopted");
            int  adopted   = -1;
            bool condition = true;

            for (int i = 0; i < pets.Count; i++)
            {
                Console.WriteLine("insert {2} for: Pet Name: {0} Pet Description: {1} ", pets[i].GetPetName, pets[i].GetPetDescription, i + 1);
            }
            while (condition)
            {
                adopted = int.Parse(Console.ReadLine());
                if (adopted > 0 && adopted < 4)
                {
                    condition = false;
                }
                else
                {
                    Console.WriteLine("Please select a dog.");
                }
            }
            Console.WriteLine("Thanks for adopting {0}", pets[adopted - 1].GetPetName);
        }
コード例 #2
0
        static void Main(string[] args)
        {
            //Instantiate new shelter & new virtual pets
            VirtualPetShelter shelter = new VirtualPetShelter();
            VirtualPet        fidget  = new VirtualPet("Fidget", "mini-moo", 67, 22, 54);
            VirtualPet        tito    = new VirtualPet("Tito  ", "minotaur", 73, 45, 87);
            VirtualPet        pinky   = new VirtualPet("Pinky ", "unicorn", 79, 68, 94);

            // add pets to list
            shelter.AddPet(tito);
            shelter.AddPet(fidget);
            shelter.AddPet(pinky);
            List <VirtualPet> pets = shelter.GetPet();

            //volunteer options
            Console.WriteLine("Hello! Welcome to the Virtual Pet Shelter. Type 1 for manager or 2 for volunteer");
            int userSel = int.Parse(Console.ReadLine());

            if (userSel == 2)
            {
                Console.WriteLine("Thanks for coming in to volunteer today");
                Volunteer sign = new Volunteer();
                Console.WriteLine(sign.CheckIn());
                Console.WriteLine("Current Pet Status");
                Console.WriteLine(" ");

                Console.WriteLine("Name       |Hunger    |Thirst   |Boredom");
                Console.WriteLine("____________________________________________");

                // print out table with status
                foreach (VirtualPet pet in pets)
                {
                    Console.WriteLine(pet.Name + "     | " + pet.Hunger + "       | " + pet.Water + "      | " + pet.Play);
                    Console.WriteLine(" ");
                }
                Console.WriteLine("Type yes if you would like to take care of the pets now");
                string userAns = Console.ReadLine().ToLower();

                while (userAns.Equals("yes"))
                {
                    Console.WriteLine("What do you want to do?");
                    Console.WriteLine("");
                    Console.WriteLine("1 Feed the Pets");
                    Console.WriteLine("2 Water the Pets");
                    Console.WriteLine("3 Play with the Pets");
                    Console.WriteLine("4 Quit");
                    int userResp = int.Parse(Console.ReadLine());

                    switch (userResp)
                    {
                    case 1:
                        Volunteer hungry = new Volunteer();
                        hungry.Feed();
                        Console.WriteLine("The pets have been fed.");
                        break;

                    case 2:
                        Volunteer thirsty = new Volunteer();
                        thirsty.Thirst();
                        Console.WriteLine("The pets have been watered");
                        break;

                    case 3:
                        Volunteer fetch = new Volunteer();
                        fetch.Activity();
                        Console.WriteLine("Which pet would you like to play with?");
                        foreach (VirtualPet pet in pets)
                        {
                            Console.WriteLine(pet.Name);
                        }
                        string choice = Console.ReadLine().ToLower();
                        Console.WriteLine("You have played with  " + choice);
                        break;

                    case 4:
                        userAns = "test";
                        break;

                    default:
                        break;
                    }
                }
            }

            //manager options
            if (userSel == 1)
            {
                // print out table with status
                Console.WriteLine("Current Pet Status");
                Console.WriteLine(" ");
                Console.WriteLine("Name       |Hunger    |Thirst   |Boredom");
                Console.WriteLine("____________________________________________");

                foreach (VirtualPet pet in pets)
                {
                    Console.WriteLine(pet.Name + "     | " + pet.Hunger + "       | " + pet.Water + "      | " + pet.Play);
                    Console.WriteLine(" ");
                }
                Console.WriteLine("Type yes to do some work");
                string userAns = Console.ReadLine().ToLower();

                while (userAns.Equals("yes"))
                {
                    Console.WriteLine("");
                    Console.WriteLine("1 Play with the Pets");
                    Console.WriteLine("2 Adopt out a Pet");
                    Console.WriteLine("3 Sign in");
                    Console.WriteLine("4 Quit");
                    int userResp = int.Parse(Console.ReadLine());

                    switch (userResp)
                    {
                    case 1:
                        Console.WriteLine("Which pet would you like to play with?");
                        foreach (VirtualPet pet in pets)
                        {
                            Console.WriteLine(pet.Name);
                        }
                        string choice = Console.ReadLine().ToLower();
                        Console.WriteLine("You have played with  " + choice);
                        break;

                    case 2:
                        Console.WriteLine("Which pet is going to be adopted?");
                        foreach (VirtualPet pet in pets)
                        {
                            Console.WriteLine(pet.Name + "      " + pet.Description);
                        }
                        string  adoptee = Console.ReadLine().ToLower();
                        Manager newHome = new Manager();
                        Console.WriteLine(newHome.Adopt());
                        break;

                    case 3:
                        Manager swipe = new Manager();
                        Console.WriteLine(swipe.CheckIn());
                        break;

                    case 4:
                        userAns = "test";
                        break;
                    }
                }

                Console.WriteLine("Quit");
            }
        }
コード例 #3
0
        static void Main(string[] args)
        {
            Boolean appRunState = true; //application run state control variable


            //string checkForExit = "null"; TBR

            //instantiate objects

            VirtualPetShelter myShelter    = new VirtualPetShelter();
            Volunteer         volunteerOne = new Volunteer();
            Manager           managerOne   = new Manager();
            Pet petOne   = new Pet();
            Pet petTwo   = new Pet();
            Pet petThree = new Pet();
            Pet petFour  = new Pet();

            // set names and values.

            petOne.Name      = "abbey";
            petOne.TypeOfPet = "Cat";
            petOne.Hunger    = 10;
            petOne.Thirst    = 10;
            petOne.Boredom   = 10;

            petTwo.Name      = "boston";
            petTwo.TypeOfPet = "Cat";
            petTwo.Hunger    = 20;
            petTwo.Thirst    = 20;
            petTwo.Boredom   = 20;

            petThree.Name      = "charlie";
            petThree.TypeOfPet = "Dog";
            petThree.Hunger    = 30;
            petThree.Thirst    = 30;
            petThree.Boredom   = 30;

            petFour.Name      = "dino";
            petFour.TypeOfPet = "Dog";
            petFour.Hunger    = 40;
            petFour.Thirst    = 40;
            petFour.Boredom   = 40;



            do
            {   //begin run state loop
                int menuSelection    = 0;
                int subMenuSelection = 0;



                // display UI


                do
                {
                    Console.WriteLine();
                    Console.WriteLine("Welcome to Vitual Pet Shelter. What employee type are you?");
                    Console.WriteLine();
                    Console.WriteLine("[1] Manager");
                    Console.WriteLine();
                    Console.WriteLine("[2] Volunteer");
                    Console.WriteLine();

                    //get resposnse menu response
                    menuSelection = int.Parse(Console.ReadLine());
                } while ((menuSelection < 1) || (menuSelection > 2)); //trap for invalid entry
                                                                      //process selection
                if (menuSelection == 1)                               // display manager sub menu
                {
                    Console.WriteLine("Thank you for working at Virtual Pet Shelter!");
                    Console.WriteLine();
                    //display pet status
                    Console.WriteLine();
                    Console.WriteLine(" This is the status of your pets...");
                    Console.WriteLine();
                    Console.WriteLine("Name | Hunger | Thirst| Boredom");
                    Console.WriteLine("-------------------------------");
                    Console.WriteLine(petOne.Name + "   " + petOne.Hunger + "         " + petOne.Thirst + "         " + petOne.Boredom);
                    Console.WriteLine(petTwo.Name + "     " + petTwo.Hunger + "       " + petTwo.Thirst + "         " + petTwo.Boredom);
                    Console.WriteLine(petThree.Name + "    " + petThree.Hunger + "       " + petThree.Thirst + "         " + petThree.Boredom);
                    Console.WriteLine(petFour.Name + "    " + petFour.Hunger + "         " + petFour.Thirst + "         " + petFour.Boredom);
                    Console.WriteLine();
                    Console.WriteLine("What would you like to do?");
                    Console.WriteLine();
                    Console.WriteLine("[1] Adopt a pet");
                    Console.WriteLine();
                    Console.WriteLine("[2] Feed the pets");
                    Console.WriteLine();
                    Console.WriteLine("[3] Water the pets");
                    Console.WriteLine();
                    Console.WriteLine("[4] Play with a pet");
                    Console.WriteLine();
                    Console.WriteLine("[5] Pay the bills");
                    Console.WriteLine();
                    Console.WriteLine("[6] Quit");
                    Console.WriteLine();
                    // get response
                    subMenuSelection = int.Parse(Console.ReadLine());

                    if (subMenuSelection == 2)
                    {   //change values
                        petOne.Hunger--;
                        petTwo.Hunger--;
                        petThree.Hunger--;
                        petFour.Hunger--;

                        //display menues

                        Console.WriteLine("Thank you for working at Virtual Pet Shelter!");
                        Console.WriteLine();
                        //display pet status
                        Console.WriteLine();
                        Console.WriteLine(" This is the status of your pets...");
                        Console.WriteLine();
                        Console.WriteLine("Name | Hunger | Thirst| Boredom");
                        Console.WriteLine("-------------------------------");
                        Console.WriteLine(petOne.Name + "  " + petOne.Hunger + "  " + petOne.Thirst + "  " + petOne.Boredom);
                        Console.WriteLine(petTwo.Name + "    " + petTwo.Hunger + "       " + petTwo.Thirst + "  " + petTwo.Boredom);
                        Console.WriteLine(petThree.Name + "  " + petThree.Hunger + "  " + petThree.Thirst + "  " + petThree.Boredom);
                        Console.WriteLine(petFour.Name + "  " + petFour.Hunger + "  " + petFour.Thirst + "  " + petFour.Boredom);
                        Console.WriteLine();
                        Console.WriteLine("What would you like to do?");
                        Console.WriteLine();
                        Console.WriteLine("[1] Adopt a pet");
                        Console.WriteLine();
                        Console.WriteLine("[2] Feed the pets");
                        Console.WriteLine();
                        Console.WriteLine("[3] Water the pets");
                        Console.WriteLine();
                        Console.WriteLine("[4] Play with a pet");
                        Console.WriteLine();
                        Console.WriteLine("[5] Pay the bills");
                        Console.WriteLine();
                        Console.WriteLine("[6] Quit");
                        Console.WriteLine();
                        // get response
                        subMenuSelection = int.Parse(Console.ReadLine());
                    }

                    if (subMenuSelection == 3)
                    {
                        //change values
                        petOne.Thirst--;
                        petTwo.Thirst--;
                        petThree.Thirst--;
                        petFour.Thirst--;

                        //display menu
                        Console.WriteLine("Thank you for working at Virtual Pet Shelter!");
                        Console.WriteLine();
                        //display pet status
                        Console.WriteLine();
                        Console.WriteLine(" This is the status of your pets...");
                        Console.WriteLine();
                        Console.WriteLine("Name | Hunger | Thirst| Boredom");
                        Console.WriteLine("-------------------------------");
                        Console.WriteLine(petOne.Name + "    " + petOne.Hunger + "       " + petOne.Thirst + "       " + petOne.Boredom);
                        Console.WriteLine(petTwo.Name + "    " + petTwo.Hunger + "       " + petTwo.Thirst + "       " + petTwo.Boredom);
                        Console.WriteLine(petThree.Name + "    " + petThree.Hunger + "       " + petThree.Thirst + "       " + petThree.Boredom);
                        Console.WriteLine(petFour.Name + "    " + petFour.Hunger + "       " + petFour.Thirst + "       " + petFour.Boredom);
                        Console.WriteLine();
                        Console.WriteLine("What would you like to do?");
                        Console.WriteLine();
                        Console.WriteLine("[1] Adopt a pet");
                        Console.WriteLine();
                        Console.WriteLine("[2] Feed the pets");
                        Console.WriteLine();
                        Console.WriteLine("[3] Water the pets");
                        Console.WriteLine();
                        Console.WriteLine("[4] Play with a pet");
                        Console.WriteLine();
                        Console.WriteLine("[5] Pay the bills");
                        Console.WriteLine();
                        Console.WriteLine("[6] Quit");
                        Console.WriteLine();
                        // get response
                        subMenuSelection = int.Parse(Console.ReadLine());
                    }
                    if (subMenuSelection == 4)
                    {
                        petOne.Boredom--;
                        petTwo.Boredom--;
                        petThree.Boredom--;
                        petFour.Boredom--;

                        Console.WriteLine("Thank you for working at Virtual Pet Shelter!");
                        Console.WriteLine();
                        //display pet status
                        Console.WriteLine();
                        Console.WriteLine(" This is the status of your pets...");
                        Console.WriteLine();
                        Console.WriteLine("Name | Hunger | Thirst| Boredom");
                        Console.WriteLine("-------------------------------");
                        Console.WriteLine(petOne.Name + "    " + petOne.Hunger + "       " + petOne.Thirst + "       " + petOne.Boredom);
                        Console.WriteLine(petTwo.Name + "    " + petTwo.Hunger + "       " + petTwo.Thirst + "       " + petTwo.Boredom);
                        Console.WriteLine(petThree.Name + "    " + petThree.Hunger + "       " + petThree.Thirst + "       " + petThree.Boredom);
                        Console.WriteLine(petFour.Name + "    " + petFour.Hunger + "       " + petFour.Thirst + "       " + petFour.Boredom);
                        Console.WriteLine();
                        Console.WriteLine("What would you like to do?");
                        Console.WriteLine();
                        Console.WriteLine("[1] Adopt a pet");
                        Console.WriteLine();
                        Console.WriteLine("[2] Feed the pets");
                        Console.WriteLine();
                        Console.WriteLine("[3] Water the pets");
                        Console.WriteLine();
                        Console.WriteLine("[4] Play with a pet");
                        Console.WriteLine();
                        Console.WriteLine("[5] Pay the bills");
                        Console.WriteLine();
                        Console.WriteLine("[6] Quit");
                        Console.WriteLine();
                        // get response
                        subMenuSelection = int.Parse(Console.ReadLine());
                    }

                    if (subMenuSelection == 5)
                    {
                        managerOne.PayTheBills();
                    }

                    if (subMenuSelection == 6)
                    {
                        appRunState = false; //exit program
                    }
                }

                if (menuSelection == 2) // display volunteer sub menu
                {
                    Console.WriteLine("Thank you for volunteering at Virtual Pet Shelter!");
                    Console.WriteLine();


                    // Display pet status ///maybe call Prop/Meth


                    Console.WriteLine("What would you like to do next?");
                    Console.WriteLine();
                    Console.WriteLine("[1] Feed the pets");
                    Console.WriteLine();
                    Console.WriteLine("[2] Water the pets");
                    Console.WriteLine();
                    Console.WriteLine("[3] Play with a pet");
                    Console.WriteLine();
                    Console.WriteLine("[4] Quit");
                    Console.WriteLine();

                    // get response
                    subMenuSelection = int.Parse(Console.ReadLine());
                    if (subMenuSelection == 4)
                    {
                        appRunState = false; //exit program
                    }
                }



                //if (subMenuSelection == 4)
                // {
                //     appRunState = false; //exit program

                //  }


                //// NO CODE BELOW HERE DANGER //// NO CODE BELOW HERE DANGER //// NO CODE BELOW HERE DANGER ///
            } while (appRunState); //app run state loop
        }
コード例 #4
0
ファイル: Program.cs プロジェクト: nekoVillanueva/PetShelter
        static void Main()
        {
            bool condition = true;
            int  input     = 0;
            var  manager   = new Manager();
            var  employee  = new Volunteer();

            while (condition == true)
            {
                Console.WriteLine("Welcome to Big Nekos Pet Extravaganza. What type of worker are you?");
                Console.WriteLine("Type 1 for manager");
                Console.WriteLine("Type 2 for volunteer");
                input = int.Parse(Console.ReadLine());
                if (input == 1 || input == 2)
                {
                    condition = false;
                }
                else
                {
                    Console.WriteLine("Please enter valid input");
                }
            }

            foreach (VpetBase pet in VirtualPetShelter.GetPetValues())
            {
                Console.WriteLine("Pet Name: {0} Pet Description: {1} ... ", pet.GetPetName, pet.GetPetDescription);
            }

            if (input == 1)
            {
                while (!condition)//while condition stays false run loop
                {
                    Console.WriteLine();
                    Console.WriteLine("What would you like to do next?");
                    Console.WriteLine("Type 1 to adopt a pet");
                    Console.WriteLine("Type 2 to walk the pets");
                    Console.WriteLine("Type 3 to play with pets");
                    Console.WriteLine("Type 4 to quit");

                    input = int.Parse(Console.ReadLine());
                    if (input > 0 && input < 5)
                    {
                        switch (input)
                        {
                        case 1:
                            manager.AdoptPet();
                            break;

                        case 2:
                            manager.WalkDog();
                            break;

                        case 3:
                            manager.PlayingPet();
                            break;

                        case 4:
                            condition = !condition;
                            break;
                        }
                    }
                    else
                    {
                        Console.WriteLine("please insert a valid number");
                    }
                }
            }

            else
            {
                while (!condition)//while condition stays false run loop
                {
                    Console.WriteLine();
                    Console.WriteLine("What would you like to do next?");
                    Console.WriteLine("Type 1 to feed the pets");
                    Console.WriteLine("Type 2 to water the pets");
                    Console.WriteLine("Type 3 to play with pets");
                    Console.WriteLine("Type 4 to walk the pets");
                    Console.WriteLine("Type 5 to quit");
                    input = int.Parse(Console.ReadLine());
                    if (input > 0 && input < 6)
                    {
                        switch (input)
                        {
                        case 1:
                            employee.feed();
                            break;

                        case 2:
                            employee.water();
                            break;

                        case 3:
                            employee.PlayingPet();
                            break;

                        case 4:
                            employee.WalkDog();
                            break;

                        case 5:
                            condition = !condition;
                            break;
                        }
                    }
                    else
                    {
                        Console.WriteLine("please insert a valid number");
                    }
                }
            }
            while (condition)
            {
                Console.WriteLine("Do you want to come back to work tommorow? Y or N");
                string finalAnswer = Console.ReadLine().ToUpper();
                if (finalAnswer == "Y")
                {
                    Main();
                }
                else if (finalAnswer == "N")
                {
                    return;
                }
                else
                {
                    Console.WriteLine("Please learn the alphabet before continuing your education");
                }
            }
        }
コード例 #5
0
 public void Adopt(VirtualPetShelter virtualPetShelter, VirtualPet petName)
 {
     //virtualPetShelter.RemoveAt(value.ListOfPets);
 }
コード例 #6
0
        static void Main(string[] args)
        {
            VirtualPetShelter vpshelter = new VirtualPetShelter();
            Manager           manager   = new Manager();
            Volunteer         volunteer = new Volunteer();

            vpshelter.Pets      = new List <VirtualPet>();
            vpshelter.Employees = new List <Employee>();

            Dog jack = new Dog("Jack", "Dog", 83, 34, 23);
            Dog john = new Dog("John", "Dog", 69, 49, 02);
            Cat paul = new Cat("Paul", "Cat", 39, 18, 88);
            Cat glen = new Cat("Glen", "Cat", 59, 19, 37);

            vpshelter.SetPets(vpshelter.Pets, jack);
            vpshelter.SetPets(vpshelter.Pets, john);
            vpshelter.SetPets(vpshelter.Pets, paul);
            vpshelter.SetPets(vpshelter.Pets, glen);

            Manager   courtney = new Manager("Courtney");
            Manager   pete     = new Manager("Pete");
            Volunteer heidi    = new Volunteer("Heidi");
            Volunteer mark     = new Volunteer("Mark");

            vpshelter.SetEmployees(vpshelter.Employees, courtney);
            vpshelter.SetEmployees(vpshelter.Employees, pete);
            vpshelter.SetEmployees(vpshelter.Employees, heidi);
            vpshelter.SetEmployees(vpshelter.Employees, mark);

            Console.WriteLine("Would you like to play Virtual Pet Shelter?");
            Console.WriteLine("1. Yes");
            Console.WriteLine("2. No");
            Console.WriteLine();

            Console.Write("> ");
            string userResp = Console.ReadLine();

            Console.Clear();

            while (userResp == "1") // Setting a Game Loop
            {
                Console.WriteLine("Welcome to Courtney's Virtual Pet Shelter. What employee type are you?");
                Console.WriteLine("1. Manager");
                Console.WriteLine("2. Volunteer");
                Console.WriteLine("3. Quit");
                Console.WriteLine();

                Console.Write("> ");
                string employeeResp = Console.ReadLine();

                Console.WriteLine("\nThank you for working at Courtney's Virtual Pet Shelter!\n");

                if (employeeResp == "3")
                {
                    Console.Clear();
                    userResp = "0";
                }

                while (employeeResp == "1") // Manager Menu
                {
                    Console.WriteLine("Which manager are you?");
                    Console.WriteLine("1. Courtney");
                    Console.WriteLine("2. Pete");
                    Console.WriteLine("3. Switch employee type");
                    Console.WriteLine("4. Quit");
                    Console.WriteLine();

                    Console.Write("> ");
                    string userMgr = Console.ReadLine();

                    if (userMgr == "3")
                    {
                        Console.Clear();
                        employeeResp = "0";
                    }
                    if (userMgr == "4")
                    {
                        Console.Clear();
                        employeeResp = "0";
                        userResp     = "2";
                    }

                    while (userMgr == "1" || userMgr == "2")
                    {
                        Console.WriteLine("\nWhat would you like to do?");
                        Console.WriteLine("1. Adopt a pet");
                        Console.WriteLine("2. Feed the pets");
                        Console.WriteLine("3. Play with a pet");
                        Console.WriteLine("4. View status of your pets");
                        Console.WriteLine("5. Switch user");
                        Console.WriteLine("6. Switch employee type");
                        Console.WriteLine("7. Quit");
                        Console.WriteLine();

                        Console.Write("> ");
                        string mgrResp = Console.ReadLine();

                        switch (mgrResp)
                        {
                        case "1":
                            Console.Clear();
                            Console.WriteLine("Ok, you'd like to adopt a pet. Please choose one:\n");

                            for (int i = 0; i < vpshelter.Pets.Count; i++)
                            {
                                Console.WriteLine("For [" + vpshelter.Pets[i].Name + "] type " + i);
                            }
                            Console.WriteLine("\nWhich pet would you like to adopt?\n");

                            Console.Write("> ");
                            string adoptResp = Console.ReadLine().ToLower();

                            switch (adoptResp)
                            {
                            case "0":
                                Console.Clear();
                                Console.WriteLine(manager.Adopt(vpshelter.Pets, vpshelter.Pets[0]) + "\n");
                                break;

                            case "1":
                                Console.Clear();
                                Console.WriteLine(manager.Adopt(vpshelter.Pets, vpshelter.Pets[1]) + "\n");
                                break;

                            case "2":
                                Console.Clear();
                                Console.WriteLine(manager.Adopt(vpshelter.Pets, vpshelter.Pets[2]) + "\n");
                                break;

                            case "3":
                                Console.Clear();
                                Console.WriteLine(manager.Adopt(vpshelter.Pets, vpshelter.Pets[3]) + "\n");
                                break;

                            default:
                                break;
                            }
                            break;

                        case "2":
                            Console.Clear();
                            Console.WriteLine("Ok, you'd like to feed a pet. Please choose one:\n");
                            for (int i = 0; i < vpshelter.Pets.Count; i++)
                            {
                                Console.WriteLine("For [" + vpshelter.Pets[i].Name + "] type " + i);
                            }
                            Console.WriteLine("For [All Pets] type all\n");
                            Console.WriteLine("Which pet would you like to feed?\n");

                            Console.Write("> ");
                            string feedResp = Console.ReadLine().ToLower();
                            Console.Clear();

                            switch (feedResp)
                            {
                            case "0":
                                Console.WriteLine(manager.Feed(vpshelter.Pets[0]));
                                Console.WriteLine("Hunger: " + vpshelter.Pets[0].Hunger + "\n");
                                break;

                            case "1":
                                Console.WriteLine(manager.Feed(vpshelter.Pets[1]));
                                Console.WriteLine("Hunger: " + vpshelter.Pets[1].Hunger + "\n");
                                break;

                            case "2":
                                Console.WriteLine(manager.Feed(vpshelter.Pets[2]));
                                Console.WriteLine("Hunger: " + vpshelter.Pets[2].Hunger + "\n");
                                break;

                            case "3":
                                Console.WriteLine(manager.Feed(vpshelter.Pets[3]));
                                Console.WriteLine("Hunger: " + vpshelter.Pets[3].Hunger + "\n");
                                break;

                            case "all":
                                for (int i = 0; i < vpshelter.Pets.Count; i++)
                                {
                                    Console.WriteLine(manager.Feed(vpshelter.Pets[i]));
                                    Console.WriteLine("Hunger: " + vpshelter.Pets[i].Hunger + "\n");
                                }
                                break;

                            default:
                                break;
                            }
                            break;

                        case "3":
                            Console.Clear();
                            Console.WriteLine("Ok, you'd like to play with a pet. Please choose one:\n");
                            for (int i = 0; i < vpshelter.Pets.Count; i++)
                            {
                                Console.WriteLine("For [" + vpshelter.Pets[i].Name + "] type " + i);
                            }
                            Console.WriteLine("For [All Pets] type all\n");
                            Console.WriteLine("Which pet would you like to play with?\n");

                            Console.Write("> ");
                            string playResp = Console.ReadLine().ToLower();
                            Console.Clear();

                            switch (playResp)
                            {
                            case "0":
                                Console.WriteLine(manager.Play(vpshelter.Pets[0]));
                                Console.WriteLine("Boredom: " + vpshelter.Pets[0].Boredom + "\n");
                                break;

                            case "1":
                                Console.WriteLine(manager.Play(vpshelter.Pets[1]));
                                Console.WriteLine("Boredom: " + vpshelter.Pets[1].Boredom + "\n");
                                break;

                            case "2":
                                Console.WriteLine(manager.Play(vpshelter.Pets[2]));
                                Console.WriteLine("Boredom: " + vpshelter.Pets[2].Boredom + "\n");
                                break;

                            case "3":
                                Console.WriteLine(manager.Play(vpshelter.Pets[3]));
                                Console.WriteLine("Boredom: " + vpshelter.Pets[3].Boredom + "\n");
                                break;

                            case "all":
                                for (int i = 0; i < vpshelter.Pets.Count; i++)
                                {
                                    Console.WriteLine(manager.Play(vpshelter.Pets[i]));
                                    Console.WriteLine("Boredom: " + vpshelter.Pets[i].Boredom + "\n");
                                }
                                break;

                            default:
                                break;
                            }
                            break;

                        case "4":
                            Console.Clear();
                            Console.WriteLine("This is the status of your pets:\n");
                            Console.WriteLine("Name    Desc.   Hunger  Thirst  Boredom");
                            Console.WriteLine("------- ------- ------- ------- -------");

                            for (int i = 0; i < vpshelter.Pets.Count; i++)
                            {
                                Console.WriteLine("{0}     {1}    {2}      {3}      {4}", vpshelter.Pets[i].Name, vpshelter.Pets[i].Description, vpshelter.Pets[i].Hunger, vpshelter.Pets[i].Thirst, vpshelter.Pets[i].Boredom);
                            }
                            Console.WriteLine();
                            break;

                        case "5":
                            Console.Clear();
                            userMgr = "0";
                            break;

                        case "6":
                            Console.Clear();
                            userMgr      = "0";
                            employeeResp = "0";
                            break;

                        case "7":
                            Console.Clear();
                            userMgr      = "0";
                            employeeResp = "0";
                            userResp     = "2";
                            break;

                        default:
                            break;
                        }
                    }
                }

                while (employeeResp == "2") // Volunteer Menu
                {
                    Console.WriteLine("Which volunteer are you?");
                    Console.WriteLine("1. Heidi");
                    Console.WriteLine("2. Mark");
                    Console.WriteLine("3. Switch employee type");
                    Console.WriteLine("4. Quit");
                    Console.WriteLine();

                    Console.Write("> ");
                    string userVol = Console.ReadLine();

                    if (userVol == "3")
                    {
                        Console.Clear();
                        employeeResp = "0";
                    }
                    if (userVol == "4")
                    {
                        Console.Clear();
                        employeeResp = "0";
                        userResp     = "2";
                    }

                    while (userVol == "1" || userVol == "2")
                    {
                        Console.WriteLine("\nWhat would you like to do?");
                        Console.WriteLine("1. Feed the pets");
                        Console.WriteLine("2. Give water to the pets");
                        Console.WriteLine("3. Play with a pet");
                        Console.WriteLine("4. View status of your pets");
                        Console.WriteLine("5. Switch user");
                        Console.WriteLine("6. Switch employee type");
                        Console.WriteLine("7. Quit");
                        Console.WriteLine();

                        Console.Write("> ");
                        string volResp = Console.ReadLine();

                        switch (volResp)
                        {
                        case "1":     // Feed the pets
                            Console.Clear();
                            Console.WriteLine("Ok, you'd like to feed a pet. Please choose one:\n");
                            for (int i = 0; i < vpshelter.Pets.Count; i++)
                            {
                                Console.WriteLine("For [" + vpshelter.Pets[i].Name + "] type " + i);
                            }
                            Console.WriteLine("For [All Pets] type all\n");
                            Console.WriteLine("Which pet would you like to feed?\n");

                            Console.Write("> ");
                            string feedResp = Console.ReadLine().ToLower();
                            Console.Clear();

                            switch (feedResp)
                            {
                            case "0":
                                Console.WriteLine(volunteer.Feed(vpshelter.Pets[0]));
                                Console.WriteLine("Hunger: " + vpshelter.Pets[0].Hunger + "\n");
                                break;

                            case "1":
                                Console.WriteLine(volunteer.Feed(vpshelter.Pets[1]));
                                Console.WriteLine("Hunger: " + vpshelter.Pets[1].Hunger + "\n");
                                break;

                            case "2":
                                Console.WriteLine(volunteer.Feed(vpshelter.Pets[2]));
                                Console.WriteLine("Hunger: " + vpshelter.Pets[2].Hunger + "\n");
                                break;

                            case "3":
                                Console.WriteLine(volunteer.Feed(vpshelter.Pets[3]));
                                Console.WriteLine("Hunger: " + vpshelter.Pets[3].Hunger + "\n");
                                break;

                            case "all":
                                for (int i = 0; i < vpshelter.Pets.Count; i++)
                                {
                                    Console.WriteLine(volunteer.Feed(vpshelter.Pets[i]));
                                    Console.WriteLine("Hunger: " + vpshelter.Pets[i].Hunger + "\n");
                                }
                                break;

                            default:
                                break;
                            }
                            break;

                        case "2":     // Give water to the pets
                            Console.Clear();
                            Console.WriteLine("Ok, you'd like to give water to a pet. Please choose one:\n");
                            for (int i = 0; i < vpshelter.Pets.Count; i++)
                            {
                                Console.WriteLine("For [" + vpshelter.Pets[i].Name + "] type " + i);
                            }
                            Console.WriteLine("For [All Pets] type all\n");
                            Console.WriteLine("Which pet would you like to give water?\n");

                            Console.Write("> ");
                            string waterResp = Console.ReadLine().ToLower();
                            Console.Clear();

                            switch (waterResp)
                            {
                            case "0":
                                Console.WriteLine(volunteer.GiveWater(vpshelter.Pets[0]));
                                Console.WriteLine("Thirst: " + vpshelter.Pets[0].Thirst + "\n");
                                break;

                            case "1":
                                Console.WriteLine(volunteer.GiveWater(vpshelter.Pets[1]));
                                Console.WriteLine("Thirst: " + vpshelter.Pets[1].Thirst + "\n");
                                break;

                            case "2":
                                Console.WriteLine(volunteer.GiveWater(vpshelter.Pets[2]));
                                Console.WriteLine("Thirst: " + vpshelter.Pets[2].Thirst + "\n");
                                break;

                            case "3":
                                Console.WriteLine(volunteer.GiveWater(vpshelter.Pets[3]));
                                Console.WriteLine("Thirst: " + vpshelter.Pets[3].Thirst + "\n");
                                break;

                            case "all":
                                for (int i = 0; i < vpshelter.Pets.Count; i++)
                                {
                                    Console.WriteLine(volunteer.GiveWater(vpshelter.Pets[i]));
                                    Console.WriteLine("Thirst: " + vpshelter.Pets[i].Thirst + "\n");
                                }
                                break;

                            default:
                                break;
                            }
                            break;

                        case "3":     // Play with a pet
                            Console.Clear();
                            Console.WriteLine("Ok, you'd like to play with a pet. Please choose one:\n");
                            for (int i = 0; i < vpshelter.Pets.Count; i++)
                            {
                                Console.WriteLine("For [" + vpshelter.Pets[i].Name + "] type " + i);
                            }
                            Console.WriteLine("For [All Pets] type all\n");
                            Console.WriteLine("Which pet would you like to play with?\n");

                            Console.Write("> ");
                            string playResp = Console.ReadLine().ToLower();
                            Console.Clear();

                            switch (playResp)
                            {
                            case "0":
                                Console.WriteLine(volunteer.Play(vpshelter.Pets[0]));
                                Console.WriteLine("Boredom: " + vpshelter.Pets[0].Boredom + "\n");
                                break;

                            case "1":
                                Console.WriteLine(volunteer.Play(vpshelter.Pets[1]));
                                Console.WriteLine("Boredom: " + vpshelter.Pets[1].Boredom + "\n");
                                break;

                            case "2":
                                Console.WriteLine(volunteer.Play(vpshelter.Pets[2]));
                                Console.WriteLine("Boredom: " + vpshelter.Pets[2].Boredom + "\n");
                                break;

                            case "3":
                                Console.WriteLine(volunteer.Play(vpshelter.Pets[3]));
                                Console.WriteLine("Boredom: " + vpshelter.Pets[3].Boredom + "\n");
                                break;

                            case "all":
                                for (int i = 0; i < vpshelter.Pets.Count; i++)
                                {
                                    Console.WriteLine(volunteer.Play(vpshelter.Pets[i]));
                                    Console.WriteLine("Boredom: " + vpshelter.Pets[i].Boredom + "\n");
                                }
                                break;

                            default:
                                break;
                            }
                            break;

                        case "4":     // View the status of your pets
                            Console.Clear();
                            Console.WriteLine("This is the status of your pets:\n");
                            Console.WriteLine("Name    Desc.   Hunger  Thirst  Boredom");
                            Console.WriteLine("------- ------- ------- ------- -------");

                            for (int i = 0; i < vpshelter.Pets.Count; i++)
                            {
                                Console.WriteLine("{0}     {1}    {2}      {3}      {4}", vpshelter.Pets[i].Name, vpshelter.Pets[i].Description, vpshelter.Pets[i].Hunger, vpshelter.Pets[i].Thirst, vpshelter.Pets[i].Boredom);
                            }
                            Console.WriteLine();
                            break;

                        case "5":
                            Console.Clear();
                            userVol = "0";
                            break;

                        case "6":
                            Console.Clear();
                            userVol      = "0";
                            employeeResp = "0";
                            break;

                        case "7":     // Quit
                            Console.Clear();
                            userVol      = "0";
                            employeeResp = "0";
                            userResp     = "2";
                            break;

                        default:
                            break;
                        }
                    }
                }
            }

            Console.WriteLine("Thanks for playing!");
        }