AdventureLong

Code

import java.util.Scanner;

public class AdventureLong
{
    public static void main ( String[] args )
    {
        Scanner keyboard = new Scanner (System.in);
        
        String a, b, c, d, e, f, g, h , i, j;
        
        System.out.println(" 3 paths which do you choose(one, two, three) " );
        a = keyboard.next();
        
        if (a.equals("one"))
        {
            System.out.println(" Your on a beach and you see a watergun and a bucket, which do you take " );
            b = keyboard.next();
            
            if (b.equals("watergun"))
            {
                System.out.println(" You harassed people and went to jail, should you break out(yes/no) ");
                c = keyboard.next();
                
                if ( c.equals("yes"))
                {
                    System.out.println(" Ye THUG LIFE");
                }
                else if ( c.equals("no"))
                {
                    System.out.println(" Man your a wuss" );
                }
            }
            else if (b.equals("bucket"))
            {
                System.out.println(" You made a sandcastle, wanna smash it?(yes/no)");
                d = keyboard.next();
                
                if (d.equals("yes"))
                {
                    System.out.println(" Ahm okay, good job wasting your life " );
                }
                else if (d.equals("no"))
                {
                    System.out.println(" So what now...");
                }
            }
        }
        else if (a.equals("two"))
        {
            System.out.println(" Good choice really honestly now choose jump or fight " );
            e = keyboard.next();
            
            if (e.equals("jump"))
            {
                System.out.println(" wtf dude, so try to grab something or accept fate(grab/accept)");
                f = keyboard.next();
                
                if (f.equals("grab"))
                {
                    System.out.println("good stuff you actuall survived");
                }
                else if (f.equals("accept"))
                {
                    System.out.println(" man your a whole new level of crazy ");
                }
            }
            else if (e.equals("fight"))
            {
                System.out.println(" fight what a tree? (yes/no)");
                g = keyboard.next();
                
                if (g.equals("yes"))
                {
                    System.out.println(" How do you lose");
                }
                else if (g.equals("no"))
                {
                    System.out.println(" ya good choice");
                }
            }
        }
        else if (a.equals("three"))
        {
            System.out.println(" Okay your surrounded what do you do(fight/run)");
            h = keyboard.next();
            
            if (h.equals("fight"))
            {
                System.out.println(" Well your gonna need a weapon(fist/gun)");
                i = keyboard.next();
                
                if (i.equals("fist"))
                {
                    System.out.println("Damn you know your stuff");
                }
                else if (i.equals("gun"))
                {
                    System.out.println(" no ammo...");
                }
            }
            else if(h.equals("run"))
            {
                System.out.println(" So they have guns what are you gonna do about that(ninja/car)");
                j = keyboard.next();
                
                if (j.equals("ninja"))
                {
                    System.out.println(" ya so hows that working out");
                }
                else if (j.equals("car"))
                {
                    System.out.println(" What car" );
                }
                
            }
            
        }
    }
}
        
        

AdventureLong

Project1