Assignemnt #45 and Choose Your Own Adventure

Code

    ///Name: Daniel Tiffany-Appleton
    ///Period: 7
    ///Program Name: Choose Your Own Adventure
    ///file Name: ChooseYourOwnAdventure
    ///Date Finished: 10/23/15
    
    import java.util.Scanner;
    
    public class ChooseYourOwnAdventure
    {
        public static void main( String[] args )
        {
            Scanner keyboard = new Scanner(System.in);
            
            String roomOneDecide, levelTwoChoiceOne, levelThreeChoiceOne, levelThreeChoiceTwo, levelTwoChoiceTwo , levelThreeChoiceThree, levelThreeChoiceFour;
            
            System.out.println( "SCIFI COWBOY SPACE ADVENTURE" );
            System.out.println( "" );
            System.out.println( "" );
            System.out.println( "" );
            
            System.out.println( " You are suddenly awoken by sounds of gunfire in the distance, and upon waking you exclaim \" can't I get a darn minute of shut eye before someone starts a fight.\" As the cheif regulator on this planet for 4 years and a normal regulator for 3 years, you are used to the sound of firearms and fighting. Getting there at a small time later, you see two men, one in a blue shirt, and the other in a red shirt, having a standoff and neither of them look like they will stepdown; now you have to decide to \"draw your weapon\" or try to \"talk to them\"." );
            roomOneDecide = keyboard.nextLine(); 
            
            if (roomOneDecide.equals("draw your weapon"))
            {
                System.out.println("");
                System.out.println("");
                System.out.println( "You are now standing there with both your electro-plasmic pistols drawn. With this Mexican standoff is now a triangle, you stand their with a look that you will murder one or both of them. Now standing there for what seem like a hour, the man in the red shirt bales into the brush near by. Do you \"run after red\" or \"talk to blue\"." );
                levelTwoChoiceOne = keyboard.nextLine();
                
                    if (levelTwoChoiceOne.equals("run after red"))
                    {
                        System.out.println("");
                        System.out.println("");
                        System.out.println( "You chase after the man in red. In the insuing chase, you run through bushes and rivers, and this man doesn't seem to be slowing down, even after pass the quarter mile mark. You decide that this chase needs to end so you pull out your pistol and take aim. You can either aim at his legs, but your aim isn't steady while runnig, or you can aim at a loose branch on a tree that is over the path, but you aren't sure that the branch will stop him. Do you \"aim at legs\" or \"aim at branch\"." );
                        levelThreeChoiceOne = keyboard.nextLine(); 
        
                            if (levelThreeChoiceOne.equals("aim at legs"))
                            {
                                System.out.println("");
                                System.out.println("");
                                System.out.println( "You take aim at the man in red's legs. As you pull the trigger, you trip on a rock and your shoot misses and hits the man in his chest, killing him. As you see what you have done, you examine the man, but you can't find anything on his body. You have a feeling that this could have lead to something more, but you return home to catch up on sleep." );
                            }
                            else if (levelThreeChoiceOne.equals("aim at branch"))
                            {
                                System.out.println("");
                                System.out.println("");
                                System.out.println( "You take aim and shot the loose branch, and the branch bracks off and falls in the path of the man in red. The man in red isn't paying attention and he trips. With the chase over, you grab the man by his shirt, and as you begin to start questioning him, he starts to like your face. You wake up from your dream and get ready for school." );
                            }
                    }
                    else if (levelTwoChoiceOne.equals("talk to blue")) 
                    {
                        System.out.println("");
                        System.out.println("");
                        System.out.println( "You choose to stay and gather information from the man in blue. You turn and walk to the man in blue, and ask him for information. The man in blue refuses to answer your question, but after you turn on the old painful charm you are know for; he gives you all the information you could every want. He says that the man in red was a theif and he stole from him, but caught up to him and was in a standoff before you showed up. While he says these things, the man in blue is anxious and shifty, so you suspect he is lie, but he could have been shaken up by the action. Do you \"call his bluff\" or \"accept his story\"." );
                        levelThreeChoiceTwo = keyboard.nextLine();
                        
                            if (levelThreeChoiceTwo.equals("call his bluff"))
                            {
                                System.out.println("");
                                System.out.println("");
                                System.out.println( "You callout his lie, and he insists that it is the truth, but you aren't falling for it. You arrest him and take him in for further questioning. After talking to him at the jailhouse, he still says the same story, now you start to think that it is the truth, and now have to go on a hunt for that other man that run away." );
                            }
                            else if (levelThreeChoiceTwo.equals("accept his story"))
                            {
                                System.out.println("");
                                System.out.println("");
                                System.out.println( "You believe his story and ask him for further information. He says that the theif stole a family relic, that his family found on this planet a century ago. He says that he didn't talk at first because the relic wasn't exactly found legally. Your instincts tell you that this could lead to something big. Then you have a heart attack" );
                            }
                    }
                        
            }
                
            else if (roomOneDecide.equals("talk to them")) 
            {
                    System.out.println( "" );
                    System.out.println( "" );
                    System.out.println( "You decide to stay your hands, and start to talk the two man so that don't start shooting you or themselves. You take steps towards them as you talk.; you ask them why they are about to shoot eachother. The man in blue goes on and on about how the man in red stole from him, and the man in red keeps dening it; stating that he was home with is wife when the robbery to place. The man in blue keeps getting madder, and saying that the man in red stole is family's savings. However you negotiates both men to put down their pistols, but after you grab the man in red's gun, the man in blue pulls his pistol on you, and says that you have to arrest the man in red. Do you \"calm blue\" or \"try to disarm\" blue." );
                    levelTwoChoiceTwo = keyboard.nextLine();
                
                        if (levelTwoChoiceTwo.equals("calm blue"))
                        {
                            System.out.println( "" );
                            System.out.println( "" );
                            System.out.println( "You decide to try your luck at calm blue down. You state that \"you can't arrest on a single's man testomony, but he will investigates your claims.\" The man in blue doesn't beleive you and says the the man in red is guilty, and he states that \"He will be the exacutioner.\" The man in blue points his gun at the man in red and looks like he is about to fire his gun. You have to act quickly, do you \"draw your gun\" or \"give him red\"." );
                        levelThreeChoiceThree = keyboard.nextLine();
                            
                            if (levelThreeChoiceThree.equals("draw your gun"))
                            {
                                System.out.println( "" );
                                System.out.println( "" );
                                System.out.println( "You will not let false justice be serve, so you pull yourself and the man in red to the ground. As you fall, you grab your gun and fire two shots; both hitting the man in blue in the head. After getting up and checking the man in blue for a pulse, you turn to the man in red. The man in red tells his side of the story, and says that the man in blue was not right in the head; saying that the man had lost everyone in his family in about a month. You look down at the man in blue and feel a bit of sadness, but that's life. You take the man in red to his home then you go back home." );
                            }
                            else if (levelThreeChoiceThree.equals("give him red"))
                            {
                                System.out.println( "" );
                                System.out.println( "" );
                                System.out.println( "You decide that this fight is not worth your time, so you decide to give into his demands. The man in blue looks pleased as you steep out of the way so the man in blue can shot the man in red. You feel slight remorse as the sound of the gun rings in your ears, but that is how life is. You ride off to the sunset, and live another day." );
                            }
                        }
                        else if (levelTwoChoiceTwo.equals("try to disarm"))
                        {
                            System.out.println( "" );
                            System.out.println( "" );
                            System.out.println( "You start taking to him, and moving ever so slowly. The man in blue doesn't notice your movement, til you are in an arm's reach. Before he can distance himself, you swipes his gun out of his hand, but the man in blue punches you in the face. After you are caught off guard, you reach for your gun, but the man in blue reaches for you guns. However you reacts quick enough to throw them away for the man in blue. The man in blue knocks you on your back, and you see the guns you knocked away earlier. You knock the man in blue off of you. Now do you reach for \"the gun\" or finish the fight of with \"your fists\"." );
                             levelThreeChoiceFour = keyboard.nextLine();
                            
                                if (levelThreeChoiceFour.equals("the gun"))
                                {
                                    System.out.println( "" );
                                    System.out.println( "" );
                                    System.out.println( "You turn and race for the gun. The man in blue sees where you are headed, and races after you. You manage to reach the gun, but the man in blue tackles. With the man in blue ending on top of you; you struggle to position your gun. Then the man in blue gets you in a choke hold and as you struggle for conscousness, he starts you punch you relentlessly; and in the end you finally get your sleep you wanted, forever." );
                                }
                                else if (levelThreeChoiceFour.equals("your fists"))
                                {
                                    System.out.println( "" );
                                    System.out.println( "" );
                                    System.out.println( "You decide racing to your gun is to risky. You face your opponent and stand in a fighting stance. With the man in blue on his feet, the two of you circle each other. Finally the man in blue brakes this dance, and rushes to attack you. You manage to block some of his blows, but the man in blue knocks you off of your feet. The man in blue gets you in a choke hold, but before he can land a blow, the sound of gunfire rings out. The man in blue falls over, dead, and you see the man in red holding your gun. You quickly take the gun for him, and thanks him. You ride of for some sleep." ); 
                                }              
                        }
        }
        }
    }
        


    

Picture of the output

Assignment 45