public static void mbrSecondChoose() { WriteLine("\n1. Check the Closet\n2. Check the Desk\n3. Check the Wardrobe\n4. Check the Bathroom\n5. Leave the Master Bedroom"); var secretChoice = Int32.Parse(Console.ReadLine()); Console.Clear(); switch (secretChoice) { case 1: //closet WriteLine("You walk over to the Closet and look in.\nOther than standard clothes, you don't notice anything of importance. However, on the top shelf, you see a box of bullets.\nOpening the box, you see 20 SILVER BULLETS. You close the box, put it in your back pack, and look around the room once more. Press 'Enter' to continue."); //silverBullets += 20; Console.ReadLine(); Console.Clear(); masterBedroom2(); break; case 2: //desk ItemSearches.nothing(); break; case 3: //Wardrobe - Orb - REMOVE OR CHANGE WriteLine("You walk over to the Wardrobe and open the doors.\n\nIt's almost empty, except for some shoes on the ground and a lone, pale green dress, hanging.\nPress 'Enter' to continue."); //However, a closer look reveals a purple box on the ground, behind the shoes. You open the box to reveal...\n...a Dark Blue ORB. WriteLine("This may be what some writings you came across earlier were referring to: 'Twin Orbs'. If you haven't found it already, you might want to find the second Orb - it seems like it might be important."); Console.ReadLine(); Console.Clear(); WriteLine("You then notice the brochure next to the shoes: \n'Possessions are REAL!'.\nSkimming the brochure, it talks about how people, with sufficient training, can withstand a possession, turn the entity out, but keep all of it's powers. The drawback is that if the entity regains control, it can - and usually will - kill the person and anyone close to them.\nCREEPY."); WriteLine("Press 'Enter' to continue."); Console.ReadLine(); Console.Clear(); WriteLine("You decide on your next move, as you head back to the door. Press 'Enter' to continue."); Console.ReadLine(); mbrSecondChoose(); break; case 4: //bathroom bathroom3(); break; case 5: //leave WriteLine("You decide to go leave the room."); SecondFloorHalls.hallRight(); break; default: WriteLine("You have exited the Program."); System.Environment.Exit(0); break; } }
public static void hallway() { Console.Clear(); WriteLine("You start down the Hall."); WriteLine("The hall has a few spots where light bulbs would normally be set. However, only one bulb is in and lit, making the hall a bit gloomy."); WriteLine("You notice 3 separate doors on your left; they could be closets or storage spaces but all 3 doors are closed."); WriteLine("The hall ends at a 'T'-intersection with another hallway; where that hall ends, there is a door leading into another room."); WriteLine("Press 'Enter' to continue."); Console.ReadLine(); WriteLine("| -------------\\---------"); WriteLine("| "); WriteLine("| ----------- -----"); WriteLine("| | Util. \\ | "); WriteLine("| ----------- | "); WriteLine("| | \\ | "); WriteLine("| | Closet2 | | "); WriteLine("| ----------- | "); WriteLine("| | \\ Hall | "); WriteLine("| | Closet1 | | "); WriteLine("| ----------| |----|"); WriteLine("| | Entry |"); WriteLine("What would you like to do?"); WriteLine("Enter '0' to Quit the program\nEnter '1' to check the nearest Door\nEnter '2' to check the Middle Door\nEnter '3' to check the Far Door\nEnter '4' to continue to the End of the Hall"); var hallChoice = Int32.Parse(Console.ReadLine()); switch (hallChoice) { case 1: Encounters.hallCloset2(); break; case 2: ItemSearches.nothing(); break; case 3: ItemSearches.nothing(); // change/update break; case 4: Backhouse.tHall(); break; default: WriteLine("You have exited the program."); break; } }
public static void bedroomChoose() { WriteLine("|--------\\--------------\\----| "); WriteLine("| | | "); WriteLine("| | Bathroom | "); WriteLine("| Bedroom \\ | "); WriteLine("| | | "); WriteLine("|------------------------------| "); WriteLine("| | "); WriteLine("| | "); WriteLine("| STUDY | "); WriteLine("|------------------------------| "); WriteLine("What would you like to do next?"); WriteLine("Enter '1' to check the Bathroom\nEnter '2' to check the Closet\nEnter '3' to check the Cabinet\nEnter '4' to Leave the bedroom\nEnter Anythng else to Quit the program."); Console.ReadLine(); var bedroomChoice = Int32.Parse(Console.ReadLine()); switch (bedroomChoice) { case 1: //Bathroom bathroom(); break; case 2: //Bedroom Closet - nothing ItemSearches.nothing(); break; case 3: //Cabinet - ? WriteLine("Other than the knick-knacks, the only thing you find of interest is a piece of paper, with the number '7521' written on it.\nYou decide to check the bathroom before leaving."); bathroom(); break; case 4: WriteLine("You leave the bedroom. Press 'Enter' to continue."); Console.ReadLine(); Backhouse.tHallChoose(); // check this branch break; default: WriteLine("You have exited the program."); break; } }
public static void entrywayChoice() { WriteLine("| |"); WriteLine("| ------------------------|"); WriteLine("| | | |"); WriteLine("| | | |"); WriteLine("|--------------------| | |"); WriteLine("| --| |--- |"); WriteLine("| | | |"); WriteLine("| \\ Entry \\ |"); WriteLine("|------------------|--\\---|-----------------------|"); WriteLine("You have a few choices to make. What would you like to do?"); WriteLine("Enter '1' to check the Left Door\nEnter '2' to check the Right Door\nEnter '3' to choose the Hall\n'4' to Leave the House\nEnter '0' to end the program"); var choiceEntry = Int32.Parse(ReadLine()); switch (choiceEntry) { case 0: WriteLine("You have exited the program."); System.Environment.Exit(0); break; case 4: WriteLine("You decide to put off this investigation for another day."); WriteLine("Press 'Enter' to continue."); Console.ReadLine(); break; case 1: study(); break; case 2: livingRoom(); break; case 3: FrontHouse.hallway(); break; default: ItemSearches.nothing(); //will cut back on repetitive code break; } }
public static void masterbedroomChoose() { WriteLine("|-------------------------------------------------------------------|"); WriteLine("| | | | |"); WriteLine("| Master | | | |"); WriteLine("| Bedroom -----| | |"); WriteLine("| | | |"); WriteLine("| | | |"); WriteLine("|----------\\---------------------\\--------------------||---------\\"); WriteLine("|---------\\---------------\\--- -----------------------------|"); WriteLine("| | | | |"); WriteLine("| Bedroom | | | |"); WriteLine("| | | | |"); WriteLine("What would you like to do?"); WriteLine("1. Leave the Master Bedroom and go back to the T-intersection\n2. Check the Closet\n3. Check the Large Window\n4. Check the Bathroom\n5. Check the Wardrobe\n0. Quit the Program"); var mbrChoice = Int32.Parse(Console.ReadLine()); switch (mbrChoice) { case 1: WriteLine("You decide to leave the Master Bedroom and head back to the hallway intersection.\n"); WriteLine("Press 'Enter' to continue."); Console.ReadLine(); Console.Clear(); tHallChoose(); break; case 2: //closet WriteLine("You walk over to the closet.\nThere are some jackets, coats, and other clothing odds and ends, hanging on the closet bar.\nOn a shelf above the clothes, there is a hat, some small boxes and a few small plastic containers, filled with knick-knacks. In front of one of these containers is a rectangular box."); WriteLine("Press 'Enter' to continue."); Console.ReadLine(); Console.Clear(); WriteLine("You take a closer look at the box - it's a box of 20 bullets. Opening the box, you see that these are SILVER BULLETS.\n"); //var silverBullets = 20; used in Final Battle WriteLine("You take the box, although you're now wondering why someone would need a specific type of bullet, much less 20 of them. Nothing else of interest is in the closet, so you return your attention to the Master Bedroom."); WriteLine("Press 'Enter' to continue."); Console.ReadLine(); Console.Clear(); masterbedroomChoose(); break; case 3: //window - nothing ItemSearches.nothing(); break; case 4: //bathroom - use code from FrontHouse FirstFloor.FrontHouse.bathroom(); break; case 5: //wardrobe - body, note, code WriteLine("You inspect the Wardrobe.\nAs you walk closer, the faint odor grows stronger and much more unpleasant.\n You open the Wardrobe..."); WriteLine("... and a body tumbles out!"); WriteLine("Press 'Enter' to continue."); Console.ReadLine(); WriteLine("The body is of a man, over 6 feet tall, with salt-and-pepper hair, a thin build, and a not-quite-middle-aged face.\nHis shirt appears to have been shredded, along with the torso underneath!\n"); WriteLine("You inspect the body. You find a piece of paper inside the front right pocket. On it, in a small, hurried-looking print is this:\n\n'She is possessed! She-"); WriteLine("The note is torn off at that point.\nYou don't know who 'she' is, but 'she' is now Prime Suspect #1 in whatever is going on here.\nYou take the Note and pocket it, then put the body back into the Wardrobe - gruesome work."); WriteLine("Press 'Enter' to continue."); Console.ReadLine(); Console.Clear(); masterbedroomChoose(); break; case 0: default: WriteLine("You have exited the program."); break; } }
public static void lvrChoose() { WriteLine("| |"); WriteLine("| ------------------------------ |"); WriteLine("| | | Stairs | |"); WriteLine("| | | -------- Window|"); WriteLine("| | | Living |"); WriteLine("|-------------| | Room |"); WriteLine("| | |--- |"); WriteLine("| | | Window|"); WriteLine("| \\ Entry \\ |"); WriteLine("|-----------|--\\---|---------------------------|"); WriteLine("What would you like to do, next?"); WriteLine("Enter '1' to examine the Mantle\nEnter '2' to look out the Closest Window\nEnter '3' to look out the Far Window\nEnter '4' to check the Couch\nEnter '5' to check the Loveseat\nEnter '6' to Leave the Living Room\nEnter '7' to check out the Stairs\n Enter '0' to Quit the program"); var livingRoomChoice = Int32.Parse(Console.ReadLine()); switch (livingRoomChoice) { case 1: // Mantle - picture, info WriteLine("You walk over to the Mantle, being careful to not trip over the remains of the Coffee Table. Press 'Enter' to continue."); Console.ReadLine(); Console.Clear(); WriteLine("There isn't anything special about the Mantle itself. \nOn top of the Mantle, you find a few bills and other random pieces of paper: 2 or 3 receipts, a menu, and some scribbed notes of no importance.\nYou, however, do see a candle holder; odd, because it appears to be fastened to the Mantle."); WriteLine("Press 'Enter' to continue."); Console.ReadLine(); WriteLine("You grab hold of the candle holder... and it folds in half! As it folds, you hear a shifting of... wood? Stone? from elsewhere in the house. You definitely file that in the memory banks and continue on. "); WriteLine("Press 'Enter' to continue."); Console.ReadLine(); Console.Clear(); lvrChoose(); break; case 2: // Window - near Console.Clear(); WriteLine("You head over to the nearest window and take a look out."); WriteLine("It's dusk, not quite total darkness. There is a line of trees a few dozen feet away.\nYou look deep - something moved in the trees! Press 'Enter' to continue."); Console.ReadLine(); // Console.Clear(); WriteLine("You try to focus on the movement but can't quite make out what it was... other than it wasn't small. Slightly disturbed, you turn your attention back to the Living Room. Press 'Enter' to continue."); Console.ReadLine(); Console.Clear(); lvrChoose(); break; case 3: // Window - far Encounters.window2(); break; case 4: ItemSearches.couch(); break; case 5: ItemSearches.nothing(); lvrChoose(); break; case 6: WriteLine("You return to the Entry."); entryway(); break; case 7: WriteLine("You walk over to the stairs. There's nothing particularly special about them, so you head up them...."); WriteLine("Press 'Enter' to continue."); Console.ReadLine(); Console.Clear(); SecondFloorRooms.stairs(); // start of the 2nd floor break; default: WriteLine("You have exited the program."); System.Environment.Exit(0); break; } }