Assignemnt Project #1 and Choose Your Own Slightly Longer Adventure

Code

    ///Name: Daniel Tiffany-Appleton
    ///Period: 7
    ///Program Name: Choose Your Own Adventure Two
    ///File Name: ChooseYourOwnAdventureTwo
    ///Date Finished: 11/4/15
    
    import java.util.Scanner;
    
    public class ChooseYourOwnAdventureTwo
    {
        public static void main( String[] args )
        {
            Scanner keyboard = new Scanner(System.in);
            
            String startRoom, roomOne, roomTwo, roomThree, roomFour, roomFive, roomSix, roomSeven, roomEight, roomNine;
            
            
            System.out.println( "***OOKY SPOOKY ANDVENTURE***" );
            System.out.println("");
            System.out.println("");
            System.out.println("");
            
            //Three choice in start room, two choice for rest
            System.out.println("You wake up in a dark room. You feel that your hands and feet bound and you try to shout for help. Seconds later, the lights in the room turns on and you see a ragged piece of pipe in the corner of the room. you wiggle over to the pipe and cut your hand and feet free. Now that the original panic is over you see that the room you are in is just walls of concrete, and that there are two doors on your left and right. Do you \"go left\", \"go right\", or \"stay in the room\"?");
            startRoom = keyboard.nextLine();
            
            if( startRoom.equals("go left"))
            {
                System.out.println("");
                System.out.println("");
                System.out.println("You decide to head left. After you head through the door, you arrive in a room that looks like a kitchen. As you look around, you get a feeling of familarity with the this kitchen, but before you can think about this you hear a voice sing in the back of the room. You walk over and see a women washing dishes, do you \"say hello\" or do you \"sneak up on her\"?");  
                roomOne = keyboard.nextLine();
                
                if( roomOne.equals("say hello"))
                {
                    System.out.println("");
                    System.out.println("");
                    System.out.println(" You decide that this women isn't threatening, so you say hello to her. She turns around with a big smile on her face. You are unnerved by her wide smile but you greet her back. You ask here were you are, the women doesn't answer your question but instead insist that you sit and eat the cookies on the table. Do you \"accept\" or \"decline\"?");
                    roomTwo = keyboard.nextLine();
                    
                    if (roomTwo.equals("accept"))
                    {
                        System.out.println(""); 
                        System.out.println(""); 
                        System.out.println("You decide that you will take the cookies and sit down. You sit and start munching on the cookies, and the women sits down next to you. She politely states that you are dead and this is just the place where souls go before going to the hereafter. With this news, you realised that you died in a freak balloon accident, and you see a blinding light. ");  
                    }
                        
                    else if (roomTwo.equals("decline"))
                    {
                        System.out.println(""); 
                        System.out.println(""); 
                        System.out.println("You have learned you should never accept gift from strangers, so you decline the cookies. Then you see the women short circuit and she takes the knifes that she was cleaning and stabs you. Just before you lose consciousness, the women says, \"Never say no to a cookie.\"");  
                    }
                }
                else if(roomOne.equals("sneak up on her"))
                {
                    System.out.println("");
                    System.out.println("");
                    System.out.println("You decide that this women could be dangerous, so you decide to sneak up behind her. You slowly make your way over to her, and upon reaching her; you grab her. You now have to decide whether you \"question her\" or \"knock her out\"."); 
                    roomThree = keyboard.nextLine();
                    
                    if (roomThree.equals("question her"))
                    {
                        System.out.println("");
                        System.out.println("");
                        System.out.println("You decide that you need to know where you are, so you question her. You start asking your questions, but you get no answeres. While you are focused on her; she reached for a pan and hits you on the head. You faded into uncontiousness. ");
                    }
                        
                    else if (roomThree.equals("knock her out"))
                    {
                        System.out.println("");
                        System.out.println("");
                        System.out.println("You decide to knock her out is the best option. You reach for the pan at the side of the counter, and hit her on to of the head. You hit her too hard, and you see blood leak out of the skull. You run and now must livee with the fact that you killed a woman.");
                }
            }
            }
                    
            else if(startRoom.equals("go right"))
            {
                System.out.println("");
                System.out.println(""); 
                System.out.println("You decide to go throught the right door. You go throught and arrive in a hall; you can't see the end of it and it is very dark. You now have to decide whether to \"go down it\" or \"turn back\"."); 
                roomFour = keyboard.nextLine();
                
                if(roomFour.equals("go down it"))
                {
                    System.out.println("");
                    System.out.println(""); 
                    System.out.println("You decide to throw common sense to the wind. You head down the hall til you hear a noise. The noise sounds like it came from a big monster, so you start to panic. You need a light source to see if something big is here, then you spot an old fashion torch and a flashlight. Do you pick up \"the torch\" or \"the flashlight\".");
                    roomFive = keyboard.nextLine();
                    
                    if (roomFive.equals("the torch"))
                    {
                        System.out.println("");
                        System.out.println(""); 
                        System.out.println("You decide that artifical light is the worst way to see, so you pick up the torch. However the torch is not light, and you have no way to light the torch. You go to pick up the flashlight, but you feel something brush against you leg, so you wack it with your unlight torch. You hear a wimper and it runs off. You run the opposite way to escape, and trip over a ledge because you can't see.");
                    }
                    
                    else if (roomFive.equals("the flashlight"))
                    {
                        System.out.println("");
                        System.out.println(""); 
                        System.out.println("You use your common sense and pick up the flashlight. You start walking down the hall for an exit. You spot a ledge and start going down the ledge, til you hear a growl. The growling came from your left and you look left. You think that the growling creature, and that was your last thought because the creature mauled you.  ");
                    }
            
            }
                
                else if (roomFour.equals("turn back"))
                {
                    System.out.println("");
                    System.out.println(""); 
                    System.out.println("You decide that turning back is the best choice of action. You turn around and you are meet with a face full of fur. You look up to see a giant furry beast and the monster produces a frieghening roar. Do you now \"runaway\" or \"stand still\"."); 
                    roomSix = keyboard.nextLine();
                    
                    if (roomSix.equals("runaway"))
                    {
                        System.out.println("");
                        System.out.println(""); 
                        System.out.println("You decide to out run it; maybe you can reach the door before the monster can. You don't. You are eaten by the monster like a potato chip, with the cruch of your bones like a potato chip.");
                    }
                    
                    else if (roomSix.equals("stand still"))
                    {
                        System.out.println("");
                        System.out.println(""); 
                        System.out.println("You decide to stand still; hoping that the monster will be like a T-Rex from the movies. You stand perfectly still, and suprisingly, the monster doesn't see you. The monster runs after searching for you for a few minutes. You run of to the light at the end of the tunnel, and get to the outside.");
                    }
                }
            }
                    
            else if(startRoom.equals("stay in the room"))
            {
                System.out.println("");
                System.out.println("");
                System.out.println("You decide that the best course of action is to stay and search the room for clues about why you are there. You look around and find a toy dinosaur. It looked like one you used to play with when you were a child, and as you look at it more closer; you realize that it is your childhood toy. However, you lost that toy years ago. Do you \"examine the dinosaur\" for clues, or \"search around the room\" for more clues. ");
                roomSeven = keyboard.nextLine();
                
                if (roomSeven.equals("examine the dinosaur"))
                {
                    System.out.println("");
                    System.out.println("");
                    System.out.println("You now look at the dinosaur; trying to see if the dinosaur is real. As you examine it you hear a faint noise; that is barely audible. Do you \"look for the noise\" or \"ignore the noise\".");
                roomEight = keyboard.nextLine();
                    
                if (roomEight.equals("look for the noise"))
                {
                    System.out.println("");
                    System.out.println("");
                    System.out.println("You try to find the source of the noise. You look around the room for the noise, but you can't find it. You then realize that the dinosaur is the source of the noise. You put the dinosaur up to your ear, and you hear the words \"wake up\", you realize that you are in a coma from an allergic reaction to the anesthetic. You open your eyes and see your family around you.");
                }
                    
                else if (roomEight.equals("ignore the noise"))
                {
                    System.out.println("");
                    System.out.println("");
                    System.out.println("You decide that the noise is not worth your time. You block out the noise and focus on finding other clues, but by ignoring the noise you failed to notice that you are in a coma from an allergic reaction to the anesthetic."); 
                }
                
            }
                
                else if (roomSeven.equals("search around the room"))
                {
                    System.out.println("");
                    System.out.println("");
                    System.out.println("You decide that the dinosaur was a waste of time. You decide to look around the room for more clues, and you do find more clues. You spot a blanket at the corner of the room, and you see a toy robot in the other corner of the room. Do you examine \"the blanket\" or \"the toy robot\".");
                    roomNine = keyboard.nextLine();
                 
                    if (roomNine.equals("the blanket"))
                    {
                        System.out.println("");
                        System.out.println("");
                        System.out.println("You choice to examine the blanket, and as you pick up the blanket you; you notice a trapdoor on the floor underneath the blanket. You decide to go through the trapdoor, and as you desend through the darkness you drop down to a room. In fact the room you were in before, so you try the trapdoor again with the same results. This goes on for forever, never changing.");
                    }
                        
                    else if (roomNine.equals("the toy robot"))
                    {
                        System.out.println("");
                        System.out.println("");
                        System.out.println("You decide to examine the toy robot. As you pick it up, it turns on, and starts to say \"exterminate\". You didn't feel threatened, but when you brought the toy to your face, it produced blades and cut your face. You pull the robot back and dropping it,  but the robot keeps moving towards you; killing you.");
                    }
                }
                    
            }
        }
    }
    

Picture of the output

Assignment Project 1