public static void MENU()
        {
            int choice1 = 0;

            while (choice1 == 0)
            {
                Console.Clear();
                Console.WriteLine("1 - Continue \n" +
                                  "\n" +
                                  "2 - View Inventory \n" +
                                  "\n" +
                                  "3 - Quit");
                int choice = Convert.ToInt32(Console.ReadLine());
                switch (choice)
                {
                case 1:
                    choice1 += 1;
                    break;

                case 2:
                    Access.INventory();
                    break;

                case 3:
                    Mechanics.gameOver1();
                    break;
                }
            }
        }
Exemple #2
0
        public static void SMenu()
        {
            int choice1 = 0;

            while (choice1 == 0)
            {
                string photo = "" +
                               "..........0000000000.................00000000000...............\n" +
                               "...................00.....................00...................\n" +
                               "...................00.....................00...................\n" +
                               "...................00.....................00...................\n" +
                               "...................00.....................00...................\n" +
                               "............000000000.....................00...................\n" +
                               "...................00.....................00...................\n" +
                               "...................00.....................00...................\n" +
                               "...................00..............00.....00...................\n" +
                               "...................00..............00.....00...................\n" +
                               "..........0000000000.................000000....................\n";


                foreach (var character in photo)
                {
                    Console.Write(character);
                    Thread.Sleep(5);
                }
                Console.WriteLine();
                Console.WriteLine();
                string credits = "Created by Johnny Jones Jr (3J) 2020";
                foreach (var character in credits)
                {
                    Console.Write(character);
                    Thread.Sleep(20);
                }
                Console.WriteLine();
                Console.WriteLine("1 - Continue to game \n" +
                                  "2 - Quit");
                int choice = Convert.ToInt32(Console.ReadLine());
                switch (choice)
                {
                case 1:
                    choice1 += 1;
                    break;

                case 2:
                    Mechanics.gameOver1();
                    break;
                }
            }
        }
Exemple #3
0
        static void Main(string[] args)
        {
            StartMenu.SMenu();
            Console.Clear();
            Console.WriteLine("Press Enter to Continue....");
            Console.ReadLine();
            Console.Clear();
            string name = "name...?";

            foreach (var character in name)
            {
                Console.Write(character);
                Thread.Sleep(20);
            }
            Console.WriteLine();
            john.Name = Convert.ToString(Console.ReadLine());

            Console.Clear();
            string intro = $"JAKE------''{john.Name} wake up man, remember that old couple that lived out in the valley? Yeah, well they kicked bucket a few days ago. \n" +
                           $"If we hurry up we could probably hit the house before the family or whoever come. {john.Name} get up dude lets get this shit done... \n\n" +
                           "Ill meet you at the car, dont forget to grab your crowbar.... unlike last time......''";

            foreach (var character in intro)
            {
                Console.Write(character);
                Thread.Sleep(10);
            }
            Console.WriteLine();
            Console.WriteLine("Press Enter to Continue....");
            Console.ReadLine();
            Console.Clear();
choice1:

            string intro1 = "~~This should be a simple job, I dont think I need my entire kit~~:\n" +
                            "1 - Take crowbar\n" +
                            "2 - Take knife\n" +
                            "3 - Take pistol\n\n" +
                            "Choose a number and Press Enter";

            foreach (var character in intro1)
            {
                Console.Write(character);
                Thread.Sleep(10);
            }
            Console.WriteLine();

            int choice = Convert.ToInt32(Console.ReadLine());

            if (choice != 1 && choice != 2 && choice != 3)
            {
                Console.Clear();
                goto choice1;
            }
            switch (choice)
            {
            case 1:
                Program.john.crowbar = 1;
                Console.WriteLine("Crowbar added to your inventory");
                Console.ReadLine();
                break;

            case 2:
                Program.john.knife = 1;
                Console.WriteLine("Knife added to your inventory");
                Console.ReadLine();
                break;

            case 3:
                Program.john.pistol = 1;
                Console.WriteLine("Pistol added to your inventory");
                Program.john.bullets = 4;
                Console.WriteLine("4 bullets added to your inventory");
                Console.ReadLine();
                break;
            }
            Console.Clear();
            string intro2 = "You and Jake make your way to the house and begin to scope it out. 'Yo man it looks like theres just a few dudes here, we can wait until\n" +
                            "they leave and see what we can find.' You  wait until the sun goes down and the men leave in a large black van... Jake leads you to a window in the front of \n" +
                            " the house and you make your way through.. as soon as you climb in you see Jake standing with his hands up shaking his head. You see several men in long robes \n" +
                            " with hood pointing a gun at him. Before you can say a word he pulls out his switch blade and cuts one of the men's arms and wrestle the one with the gun to the\n" +
                            "ground. They eventually knock him out and drag the two of you to a courtyard in the house. they place Jake on a large table and hit you in the back of the head. \n" +
                            "You go in and out of conciousness but you were able to see what looks like them strabbing him and then a brignt light emits from far on the other side of the yard..\n" +
                            "You gather your strength and run to the front door, its locked so you look around and decide to hide under a large tarp.... you black out......";

            foreach (var character in intro2)
            {
                Console.Write(character);
                Thread.Sleep(10);
            }
            Console.WriteLine();
            Console.WriteLine("You wake up and head towards the front door, it wont budge... you hear what sounds like footsteps in the distance... youve got to get out of here....\n" +
                              "Press Enter...");
            Console.ReadLine();
            Console.Clear();
            while (Program.john.health > 0)
            {
                Mechanics.battle();
                Console.Clear();
                Console.WriteLine();
CChoice:
                Console.WriteLine("Since the door is blocked...you decide to venture further.....\n\n" +
                                  "\n" +
                                  "1 - Hallway \n" +
                                  "2 - Courtyard \n" +
                                  "3 - Stairwell  \n" +
                                  "4 - MENU");
                Console.WriteLine();
                string choice1 = Console.ReadLine();
                if (choice1 != "1" && choice1 != "2" && choice1 != "3" && choice1 != "4")
                {
                    goto CChoice;
                }
                if (choice1 == "1")
                {
                    Console.Clear();
                    Console.WriteLine("You run into the hall, at least its quiet. \n" +
                                      "Press enter...");
                    Console.ReadLine();
                    Console.Clear();
                    Locations.hallWay();
                }
                else if (choice1 == "2")
                {
                    Console.WriteLine("You run out to the blinding sun... it seems to be a courtyard with no other exits but the one you came in..");
                    Console.ReadLine();
                    Console.Clear();
                    Locations.courtYard();
                }
                else if (choice1 == "3")
                {
                    Console.WriteLine("You enter a hallway that is a series of flights of stairs and doors, a low rumble can be heard from somewhere....");
                    Console.ReadLine();
                    Console.Clear();
                    Locations.stairWell();
                }
                else if (choice1 == "4")
                {
                    Console.Clear();
                    Menu.MENU();
                }
                {
                    Console.Clear();
                    goto CChoice;
                }
            }
            Mechanics.gameOver();
        }
        public static void courtYard()
        {
            try
            {
                Mechanics.battle();
                Console.Clear();
                if (Program.john.CYentry == 0)
                {
                    Console.WriteLine("You look around..... this area is huge, probably the size of two football fields. You cant really see\n" +
                                      "past the tall grass in places but you see theres a fire somewhere to the right. And theres some sort of glow on the left.");
                }
Courtyardstart:
                Console.WriteLine("You creep into the tall grass by the door...");
                Console.WriteLine();
                Console.WriteLine("COURTYARD");
                Console.WriteLine();
                Console.WriteLine("1 - Head towards the glow... \n" +
                                  "2 - Head towards the smoke on the right \n" +
                                  "3 - Head straight \n" +
                                  "4 - Go back to the Foyer\n" +
                                  "5 - Menu");
                string choice = Console.ReadLine();
                switch (choice)
                {
                case "1":    //glow
                    Console.Clear();
                    Console.WriteLine("you start to creep towards the glow... you see a smaller dog-like demon sleeping\n" +
                                      "about 50 yards from the source of the light.");
                    Console.WriteLine("Turn back?\n" +
                                      "1 - Yes \n" +
                                      "2 - No");
                    int choice1 = Convert.ToInt32(Console.ReadLine());
                    Console.Clear();
                    if (choice1 == 1)
                    {
                        Console.WriteLine("You decide its best not to take the chance");
                        Console.ReadLine();
                        Console.Clear();
                        goto Courtyardstart;
                    }
                    else
                    {
                        Console.WriteLine("You walk toward the light, it seems to be a hole in the wall with a ethernal glow coming from it...\n " +
                                          "You sneak past that sleeping.....thing, and make your way towards the hole... once you get to it, it looks like you \ncan step into it.. ");
                        Console.ReadLine();
                        Console.Clear();
                        Console.WriteLine("Walk into it?\n" +
                                          "1 - Go back\n" +
                                          "2 - Step inside");
                        int choice2 = Convert.ToInt32(Console.ReadLine());
                        Console.Clear();
                        if (choice2 == 1)
                        {
                            Console.WriteLine("You decide its best not to take the chance");
                            Console.ReadLine();
                            Console.Clear();
                            goto Courtyardstart;
                        }
                        if (choice2 == 2)
                        {
                            Console.WriteLine("You slowly move your hand towards the light, it feels kind of like silk.... but then it starts to pull \n" +
                                              "you inside and next thing you know you youre falling, fast, and the light starts to fade to deep darkness. ");
                            Console.ReadLine();
                            Console.Clear();
                            if (Program.john.liquid == 1)
                            {
                                Console.WriteLine("The bottle in your pocket starts to glow brigher and you take it out and the lid pops off and spills on you \n" +
                                                  "You black out........");
                                Console.ReadLine();
                                Console.Clear();
                                Console.WriteLine("You wake up to find yourself back in the foyer...");
                                Console.ReadLine();
                                Console.Clear();
                                foyer();
                            }
                            else
                            {
                                Console.WriteLine("You fall and fall and slowly you lose conciousness...");
                                Console.ReadLine();
                                Console.Clear();
                                Mechanics.gameOver();
                            }
                        }
                        break;
                    }


                case "2":     //smoke
                    while (Program.john.cytents == 0)
                    {
                        Console.Clear();
                        Console.WriteLine("You shuffle through the tall grass not wanting to get noticed by another one of those monsters when you hear voices." +
                                          "\n You see a few cultists standing around a small fire... there are a few tents past them... you may be able to sneak by them.... \n" +
                                          "or you can take care of them.... ");

                        Console.WriteLine("1 - Kill them\n" +
                                          "2 - Sneak around\n" +
                                          "3 - Go back");
                        int kill = Convert.ToInt32(Console.ReadLine());
                        Console.Clear();
                        if (kill == 1)    //ATTACK THE CULTIST
                        {
                            Console.WriteLine("You position yourself so you, can grab one of the cultists when all but one walked away... the one remaining \n" +
                                              "is seated on a small chair deep into reading a book...you slowly creep up directly behind it... \n" +
                                              "1 - Choke him\n" +
                                              "2 - Go back");
                            int kill2 = Convert.ToInt32(Console.ReadLine());
                            if (kill2 == 1)
                            {
                                Console.Clear();
                                Console.WriteLine("~~~ Im not a killer am I?..... A theif but not a killer....right~~~~~~");
                                Console.ReadLine();
                                Console.Clear();
                                Console.WriteLine("The cultist puts down his book and stretches his arms... you crouch to not be seen but you dont know what he is \n" +
                                                  "going to do....");
                                Console.ReadLine();
                                Console.Clear();
                                Console.WriteLine("1 - Kill him\n" +
                                                  "2 - Kill him\n3 - Kill him\n4 - Kill him\n5 - Kill him\n6 - Kill him\n7 - I cant do this.....\n");
                                int kill3 = Convert.ToInt32(Console.ReadLine());
                                if (kill3 == 7)    //YOU DIE
                                {
                                    Console.Clear();
                                    Console.WriteLine("The cultist finished his stretch and you slowly back into the brush when you back into something hard\n" +
                                                      "you adjust to avoid the tree but you realize this wasnt a tree...");
                                    Console.ReadLine();
                                    Console.Clear();
                                    Console.WriteLine("By the time you realize what you ran into, you look down to see a spear sticking out of your chest...");
                                    Console.ReadLine();
                                    Console.Clear();
                                    Mechanics.gameOver();
                                }
                                else     //FIND SHARD
                                {
                                    Console.Clear();
                                    Console.WriteLine("You grab the cultist in a headlock and cover his mounth. Youve never done this before and youre tired.\n" +
                                                      "The cultist is scratching at your eyes and you bite down hard on his finger. You try and drag him back to the brush\n" +
                                                      "when you trip and fall on your back. When you fall you bite his fingers off and you begin to choke... ");
                                    Console.ReadLine();
                                    Console.Clear();
                                    Console.WriteLine("You try to catch your breath but the fingers arent moving. You pull harder and harder until you feel his \n" +
                                                      "neck pop and he goes limp. You get up and try to voimt as quietly as possible.");
                                    Console.ReadLine();
                                    Console.Clear();
                                    Console.WriteLine("After hiding the body you slowly make your way to the tents...... you rummage around and find a few containers \n" +
                                                      "with some bullets and a weird crystal in it.");
                                    Console.ReadLine();
                                    Console.Clear();
                                    Program.john.bullets = 7;
                                    Console.WriteLine("7 Bullets added to your inventory");
                                    Program.john.shard = 1;
                                    Console.WriteLine("1 Shard added to your inventory");
                                    Console.ReadLine();
                                    Console.Clear();
                                    Console.WriteLine("With the coast clear you head back to the front door");
                                    Console.ReadLine();
                                    Console.Clear();
                                    Program.john.cytents += 1;
                                    goto Courtyardstart;
                                }
                            }
                            else     //YOU LEAVE
                            {
                                Console.Clear();
                                Console.WriteLine("You decide its best not to take the chance");
                                Console.ReadLine();
                                Console.Clear();
                                goto Courtyardstart;
                            }
                        }
                        else if (kill == 2)    //SNEAK
                        {
                            Console.Clear();
                            Console.WriteLine("You see the group of cultist... you decide to sneak around them. as you are walking you kick a can .. it rattles\n" +
                                              "across the ground....");
                            Console.ReadLine();
                            Console.Clear();
                            Console.WriteLine("You duck and watch the group as they casually turn and one walks over to investigate.");
                            Console.ReadLine();
                            Console.Clear();
                            Console.WriteLine("The one investigating walks within a few steps of you while the others slowly start to walk away talking amongst themselves.");
                            Console.ReadLine();
                            Console.Clear();
                            Console.WriteLine("1 - Kill him\n" +
                                              "2 - hold your breath and wait...");
                            int kill4 = Convert.ToInt32(Console.ReadLine());
                            if (kill4 == 1)    //KILL HIM
                            {
                                Console.Clear();
                                Console.WriteLine("You grab the cultist in a headlock and cover his mounth. Youve never done this before and youre tired.\n" +
                                                  "The cultist is scratching at your eyes and you bite down hard on his finger. You try and drag him back to the brush\n" +
                                                  "when you trip and fall on your back. When you fall you bite his fingers off and you begin to choke... ");
                                Console.ReadLine();
                                Console.Clear();
                                Console.WriteLine("You try to catch your breath but the fingers arent moving. You pull harder and harder until you feel his \n" +
                                                  "neck pop and he goes limp. You try and get the finger out of your mounth but its deep... you start to get light=headed\n" +
                                                  "you black out....");
                                Console.ReadLine();
                                Console.Clear();
                                Mechanics.gameOver();
                            }
                            else
                            {
                                Console.Clear();
                                Console.WriteLine("You wait and the rest of the group calls him over to their conversation.... you were able to make your way to the \n" +
                                                  "tents... You rummage through their stuff and quietly run off.. you check your pockets when you get a safe distance away to find....");
                                Console.ReadLine();
                                Console.Clear();
                                Program.john.bullets = 2;
                                Console.WriteLine("2 bullets added to your inventory");
                                Program.john.shard = 1;
                                Console.WriteLine("1 Shard added to your inventory");
                                Console.ReadLine();
                                Console.Clear();
                                Console.WriteLine("With the coast clear you head back to the front door");
                                Console.ReadLine();
                                Console.Clear();
                                Program.john.cytents += 1;
                                goto Courtyardstart;
                            }
                        }
                        else if (kill == 3)
                        {
                            Console.Clear();
                            Console.WriteLine("You decide its best not to take the chance");
                            Console.ReadLine();
                            Console.Clear();
                            goto Courtyardstart;
                        }     //YOU BACK OFF
                    }
                    Console.WriteLine("The smoke has gone out, it looks like they have left");
                    Console.ReadLine();
                    Console.Clear();
                    goto Courtyardstart;

                case "3":    //2 doors
                    Console.WriteLine("You head accross the open field staying hidden in the tall grass");
                    Console.ReadLine();
                    Console.Clear();
Doors:
                    Console.WriteLine("You see two doors..." +
                                      "\n 1 - Large metal door\n" +
                                      "2 - Wooden door\n" +
                                      "3 - Go back");
                    int doorchoice = Convert.ToInt32(Console.ReadLine());
                    Console.Clear();
                    if (doorchoice == 1)
                    {
                        if (Program.john.key01 == 1)
                        {
                            Console.WriteLine("You put the key in and open the door enough to slide in. As soon as you enter you close and lock the door.\n " +
                                              "You take a second to rest since the room looks safe.");
                            Console.ReadLine();
                            Console.Clear();
                            Console.WriteLine("The room has a lot of shelves it looks like it was a storage room... you see a few things on the shelf n front \n" +
                                              "of you. As soon as you grab what you want you hear a shuffle in the back of the room. but it sounds like it could have been a rat.");
                            Console.ReadLine();
                            Console.Clear();
                            Console.WriteLine("Pistol added to your inventory\n" +
                                              "5 Bullets added to your inventory\n" +
                                              "Blue Key added to your inventory");
                            Program.john.pistol  += 1;
                            Program.john.bullets += 5;
                            Program.john.blueKey += 1;
                            Console.ReadLine();
                            Console.Clear();
                            Console.WriteLine("Keep looking through the shelves?\n1 - See if you can find anything else \n2 - Not worth running into something back there");
                            int lookaround = Convert.ToInt32(Console.ReadLine());
                            if (lookaround == 2)
                            {
                                Console.Clear();
                                Console.WriteLine("You unlock the door and sneak back to the front door of the courtyard.");
                                Console.ReadLine();
                                Console.Clear();
                                Program.john.key01 -= 1;
                                goto Courtyardstart;
                            }
                            else if (lookaround == 1)
                            {
                                Console.Clear();
                                Console.WriteLine("You start to grab some food and scarf it down when you knock over a shelf with shovels on it....");
                                Console.ReadLine();
                                Console.Clear();
                                Mechanics.battle();
                                Console.WriteLine("When you catch your breath you find some bandages and a crowbar on a shelf. Both are welcome sights.");
                                Console.ReadLine();
                                Console.Clear();
                                Program.john.crowbar += 1;
                                Program.john.health  += 20;
                                Console.WriteLine("Crowbar added to your inventory");
                                Console.ReadLine();
                                Console.Clear();
                                Console.WriteLine($"You health recovered by 20 Health:{Program.john.health}");
                                Console.ReadLine();
                                Console.Clear();
                                Console.WriteLine("You unlock the door and sneak back to the front door of the courtyard.");
                                Console.ReadLine();
                                Console.Clear();
                                Program.john.key01 -= 1;
                                goto Courtyardstart;
                            }
                        }
                        else
                        {
                            Console.Clear();
                            Console.WriteLine("It looks like it takes a large key");
                            Console.ReadLine();
                            Console.Clear();
                            goto Doors;
                        }
                    }
                    else if (doorchoice == 2)
                    {
                        if (Program.john.key02 == 1)
                        {
                            Console.Clear();
                            Console.WriteLine("You open the door to see a safe with a weird combination on it..\n As a seasoned theif you cant let the opportuniy\n" +
                                              "pass you by...");
                            Console.ReadLine();
                            Console.Clear();
                            Puzzles.WoodPuzzle();
                            Console.WriteLine("You sneak out the door and sneak back to the front door of the courtyard.");
                            Console.ReadLine();
                            Console.Clear();
                            Program.john.key02 -= 1;
                            goto Courtyardstart;
                        }
                        else
                        {
                            Console.Clear();
                            Console.WriteLine("It looks like it takes a key");
                            Console.ReadLine();
                            Console.Clear();
                            goto Doors;
                        }
                    }
                    else
                    {
                        goto Courtyardstart;
                    }
                    goto Courtyardstart;

                case "4":
                    Console.WriteLine("You turn and head back to the Foyer...");
                    Console.ReadLine();
                    Console.Clear();
                    Locations.foyer();
                    break;

                case "5":
                    Menu.MENU();
                    goto Courtyardstart;
                }
            }
            catch (FormatException)
            {
                Console.WriteLine("Incorrect format");
                Console.ReadLine();
            }
        }
        public static void hallWay()
        {
            try
            {
                Mechanics.battle();
                Console.Clear();
hallwaychoice:
                Console.Clear();
                Console.WriteLine("You look around and see a few interesting things...");
                Console.WriteLine();
                Console.WriteLine("HALLWAY");
                Console.WriteLine();
                Console.WriteLine("1 - Cieling opening \n" +
                                  "2 - Floor latch \n" +
                                  "3 - Container \n" +
                                  "4 - Continue down hallway\n" +
                                  "5 - Go back to Foyer\n" +
                                  "6 - Menu");
                string hallwaychoice = Console.ReadLine();
                switch (hallwaychoice)
                {
                case "1":
                    Console.WriteLine("you walk up to a wide hole in the ceiling, it seems to be pretty high, a ladder could reach it...");
                    Console.ReadLine();
                    Console.Clear();
                    if (Program.john.ladder == 1)
                    {
                        hallway_cieling();
                    }
                    else
                    {
                        Console.WriteLine("You need a ladder or something.....");
                        Console.ReadLine();
                        Console.Clear();
                    }
                    goto hallwaychoice;


                case "2":
                    Console.WriteLine("You see a small trapped door hidden by a thick layer of dust... ");
                    Console.ReadLine();
                    if (Program.john.crowbar >= 1)
                    {
                        Console.Clear();
                        hallway_trapdoor();
                    }
                    else
                    {
                        Console.WriteLine("You need a crowbar or something to break this open");
                        Console.ReadLine();
                    }


                    goto hallwaychoice;

                case "3":
                    Console.WriteLine("You spot a box tucked in the corner... ");
                    Console.ReadLine();
                    if (Program.john.Container001 == 1)
                    {
                        Console.WriteLine("You open the box... it has a lot of dust but there is a heavy metal key inside.");
                        Console.ReadLine();
                        Console.Clear();
                        Program.john.key01 = 1;
                        Console.WriteLine("Metal Key added to your inventory");
                        Program.john.Container001 -= 1;
                        Console.ReadLine();
                        Console.Clear();
                    }
                    else
                    {
                        Console.WriteLine("The box is empty");
                        Console.ReadLine();
                        Console.Clear();
                    }
                    goto hallwaychoice;

                case "4":
                    Console.WriteLine("You creep down the hallway and see a hallway with stairs at the end... ");
                    Console.ReadLine();
                    stairWell();
                    break;

                case "5":
                    Console.WriteLine("You turn back to the Foyer");
                    Console.ReadLine();
                    Console.Clear();
                    Locations.foyer();
                    break;

                case "6":
                    Menu.MENU();
                    goto hallwaychoice;
                    break;
                }
            }
            catch (FormatException)
            {
                Console.WriteLine("Incorrect format");
                Console.ReadLine();
            }
        }
        public static void foyer()
        {
            try
            {
                Mechanics.battle();
                Console.Clear();
foyerchoice:
                Console.Clear();
                Console.WriteLine("You look around and see a few interesting things...");
                Console.WriteLine();
                Console.WriteLine("FOYER");
                Console.WriteLine();
                Console.WriteLine("1 - Trash in the corner  \n" +
                                  "2 - Container \n" +
                                  "3 - Continue down hallway\n" +
                                  "4 - Go to Courtyard\n" +
                                  "5 - Go to Stairwell\n" +
                                  "6 - Menu");

                string fchoice = Console.ReadLine();
                switch (fchoice)
                {
                case "1":
                    Console.WriteLine("You walk to a jumble of trash on the floor, you find a small foldable ladder\n" +
                                      "~~ This could be useful~~~");
                    Console.ReadLine();
                    Console.Clear();
                    Console.WriteLine("Ladder added to your inventory");
                    Program.john.ladder += 1;
                    Console.ReadLine();
                    Console.Clear();
                    goto foyerchoice;

                case "2":
                    Console.WriteLine("You spot a box tucked in the corner... ");
                    Console.ReadLine();
                    if (Program.john.Container002 == 1)
                    {
                        Console.WriteLine("You try to open the box... but theres a weird lock on it.");
                        Console.ReadLine();
                        Console.Clear();
                        Puzzles.Boxpuzzle();
                        goto foyerchoice;
                    }
                    else
                    {
                        Console.WriteLine("The box is empty");
                        Console.ReadLine();
                        Console.Clear();
                    }
                    goto foyerchoice;

                case "3":
                    Console.WriteLine("You head down towards the long hallway....");
                    Console.ReadLine();
                    Console.Clear();
                    Locations.hallWay();
                    break;

                case "4":
                    Console.WriteLine("You head outside to the courtyard....");
                    Console.ReadLine();
                    Console.Clear();
                    Locations.courtYard();
                    break;

                case "5":
                    Console.WriteLine("You slowly open the door to the stairwell...");
                    Console.ReadLine();
                    Console.Clear();
                    Locations.stairWell();
                    break;

                case "6":
                    Menu.MENU();
                    goto foyerchoice;
                }
            }
            catch (FormatException)
            {
                Console.WriteLine("Incorrect format");
                Console.ReadLine();
            }
        }