Assignemnt #45 and Short Adventure

Code

     /// Name: Brian Phillips
    /// Period: 5
    /// Program name: Choose Your Own Adventure
    /// File Name: ShortAdventure.java
    /// Date Finished: 11/15/2015
import java.util.Scanner;

    public class ShortAdventure
    {
        public static void main(String[] args)
        {
            Scanner keyboard = new Scanner(System.in);
            
            String r1, r2, r3, r4, r5, r6, r7;
            
            System.out.println("WELCOME TO (oops caps) Brian's (insert adjective) adventure");
            System.out.println();
            System.out.println("You are at home watching TV. You get a call from an unknown number do you \"answer\" or \"decline\"?");
            r1 = keyboard.next();
            
            System.out.println();
            
            if (r1.equals("answer"))
            {
                System.out.println("You answer the phone and it is some guy named Juan he asks if you've got the money do you tell him \"yeah\" or \"naw\".");
                r2 = keyboard.next();
                
                System.out.println();
                
                if (r2.equals("yeah"))
                {
                    System.out.println("He asks if you want to meet do you meet him? (\"yes\" or \"no\")");
                    r3 = keyboard.next();
                    
                    System.out.println();
                    
                    if (r3.equals("yes"))
                    {
                        System.out.println("You meet him and it turns out he is a cop and he gives you drugs for the money. He arrests you and you are sent to prison for 5 years. Don't do drugs!!!!!");
                    }
                    else if (r3.equals("no"))
                    {
                        System.out.println("You are at home watching TV and you are still borred... but at least you've got the money.");
                    }
                }
                else if (r2.equals("naw"))
                {
                    System.out.println("Someone knocks at your door you think it is Juan do you answer the door? (\"yes\" or \"no\")");
                    r4 = keyboard.next();
                    
                    System.out.println();
                    
                    if (r4.equals("yes"))
                    {
                        System.out.println("You answer the door and it is some dude named Brad and he wants to sell you something good thing you've got the money.");
                    }
                    else if (r4.equals("no"))
                    {
                        System.out.println("You run out the backdoor and trip on you deck you are stuck there because you don't have life alert. 20 minutes later you realize you are 24 and stand up because you don't need life alert.");
                    }
                }
            }
            else if (r1.equals("decline"))
            {
                System.out.println("You are getting increasingly borred do you go \"skydiving\" or \"sleep\" ?");
                r5 = keyboard.next();
                
                System.out.println();
                
                if (r5.equals("skydiving"))
                {
                    System.out.println("You are in a plane do you jump? (\"yes\" or \"no\")");
                    r6 = keyboard.next();
                    
                    System.out.println();
                    
                    if (r6.equals("yes"))
                    {
                        System.out.println("You jump out of the plane and land in a field now you have to walk all the way back home but at least you aren't borred.");
                    }
                    else if (r6.equals("no"))
                    {
                        System.out.println("You wait around in the plane until the plane runs out of gas and you crash and burn. Should've jumped.");
                    }
                }
                else if (r5.equals("sleep"))
                {
                    System.out.println("You go to bed and are even more borred in bed do you stay in bed and try to sleep (\"yes\" or \"no\") ?");
                    r7 = keyboard.next();
                    
                    System.out.println();
                    
                    if (r7.equals("yes"))
                    {
                        System.out.println("You fall asleep and wake up still borred. At least you aren't tired.");
                    }
                    else if (r7.equals("no"))
                    {
                        System.out.println("You get back up and decide to watch TV. Back to square one.");
                    }
                }
            }
        }
    }
            
            
    

Picture of the output

ShortAdventure.html