Assignemnt #45 and Adventure

Code

/// Name: David Shkolnikov
/// Period: 6
/// Program Name: Adventure
/// File Name: Adventure.java
/// Date Finished: 11/12/2015

import java.util.Scanner;
public class Adventure
{
    public static void main( String[] args )
    {
        String a1, a2, a3, a4, a5, a6, a7;
        String enter, leave, map, newspaper, drone, steal, future, past, look, chill, kill, save, relax, search;
        
        Scanner keyboard = new Scanner(System.in);
        
        System.out.println("Welcome to David's Carribean Cruise Crisis!");
        System.out.println(" ");
        System.out.println("You and your family are on a cruise ship. You decide to leave your room at 2 AM and you stumble upon a secret door."); 
        System.out.println("Do you \"enter\" or \"leave\" the door? ");
        System.out.print("> ");
        a1 = keyboard.next();
        System.out.println(" ");
        
        if ( a1.equals("enter"))
        {
            System.out.println("You enter the room. you are checking out all the cool things when you find an old \"map\" and a \"newspaper\" from the");
            System.out.println("future. Which do you decide to look at?");
            System.out.print("> ");
            a2 = keyboard.next();
            System.out.println(" ");
            if ( a2.equals("map"))
            {
                System.out.println("You inspect the map. You discover that it could potentially take you to a treasure worth millions. You see");
                System.out.println("a future-looking advanced drone and a hoverboat eith turbo jets. Do you look for the treasure with a \"drone\", or do you \"steal\" the hoverboat with jets from the cruise to go find it? ");
                System.out.print("> ");
                a3 = keyboard.next();
                System.out.println(" ");
                
                if ( a3.equals("drone"))
                {
                    System.out.println("You take your handy drone and maneuver the map. You enter an underground layer and discover 50 million dollars in");
                    System.out.println("jewels and gold! congrats! you won this game and you are now hella rich!! ");
                }
                else if ( a3.equals("steal"))
                {
                    System.out.println("You steal the hoverboat with jets and are promptly arrested by the coast guard. you are now in jail for the rest of");
                    System.out.println("your life. YOU LOSE! Good game you illiterate loser.");
                }
            }
            else if ( a2.equals("newspaper"))
            {
                System.out.println("You inspect the newspaper. You are shocked to see that there are two buttons in the newspaper that could either");
                System.out.println("take you to the \"future\" or to the \"past\". Which would you like to go to? ");
                System.out.print("> ");
                a4 = keyboard.next();
                System.out.println(" ");
                
                if ( a4.equals("future"))
                {
                    System.out.println("You venture into the future, but because there was no time gauge it sent you so far that the human race had completely");
                    System.out.println("vanished and the remains of civilization is only a stack of bricks. You live iun nothingness for a few weeks until you");
                    System.out.println("conclude that there is no returning to your own time. You get mad, take a brick, and end your life. Way to go, YOU LOSE you uneducated swine!");
                }
                else if ( a4.equals("past"))
                {
                    System.out.println("You venture into the past, but because there was no time gauge it sent you so far that the human race did not exist and you are now in the age of the dinosaurs. You befriend their kind and live with the dinosaurs for several years until");
                    System.out.println("you are gathering food with them and they mistake you for a pineapple and eat you. Great, you were having fun but");
                    System.out.println("YOU LOSE. Honestly you are simply pathetic. ");
                }
            }
            }
        else if ( a1.equals("leave"))
        {
            System.out.println("You return to your room only to find that youre entire family has gone missing. Do you \"look\" for them or");
            System.out.println("do  you just \"chill\" until something crazier happens?");
            System.out.print("> ");
            a5 = keyboard.next();
            System.out.println(" ");
            if ( a5.equals("look"))
            {
                System.out.println("You begin searching and once you reach the dining hall you are pulled in to a oversized closet where you find a master");
                System.out.println("criminal holding your parents captive. He explains that your life is a lie and that both your parents are");
                System.out.println("treasure hunters who obtained 50 million dollars worth of gold and jewels in a secret room on board the ship.");
                System.out.println("He asks if you would rather have him \"kill\" your parents and let you keep the money or \"save\" your parents but give him the money. Which would you like to do?");
                System.out.print("> ");
                a6 = keyboard.next();
                System.out.println(" ");
                if ( a6.equals("kill"))
                {
                    System.out.println("The master criminal kills both of your parents. Just as you are about to ask if you could leave to get your money,");
                    System.out.println("he kills you in cold blood. Never trust a criminal! YOU LOSE! Oh, and by the way, you are a sincerely terrible person!");
                    System.out.println("Who lets their own parents get killed!?!?");
                }
                else if ( a6.equals("save"))
                {
                    System.out.println("You return to your room, grab this newly aquired treasure and head back to the closet. You give the criminal the");
                    System.out.println("treasure and he promptly cuts your parents free. As you and your family are reunited the criminal sais, 'You guys are ");
                    System.out.println("simply stupid.' He then kills you and youre family and yells that he can have no witnesses! YOU LOSE! Never trust a");
                    System.out.println("criminal! Oh, by the way, good job for not killing your parents but you still lost so I am sad to tell you that you are as good as an incompetent snail!");
                }
            }
            else if ( a5.equals("chill"))
            {
                System.out.println("You are just chillin in your room when all of a sudden an alligator flies through the window! Do you just \"relax\" or do you \"fight\" the alligator.");
                System.out.print("> ");
                a7 = keyboard.next();
                System.out.println(" ");
                if ( a7.equals("relax"))
                {
                    System.out.println("You decide to relax! You have chosen so many non-adventurous choices in this game that you simply DIE of boredom.");
                    System.out.println("YOU LOSE! ADVENTURE IS OUT THERE! ");
                }
                else if ( a7.equals("fight"))
                {
                    System.out.println("You are fighting the alligator with pure ferocity. This may be but it is also an alligator so it messes you up and you");
                    System.out.println("die! YOU LOSE! At least you were brave...");
                }
            }
        }
    }
}
    

Picture of the output

Assignment 45