Assignemnt #45

Code

///colin hinton
///5th period
///adventure
///Adventure
///10/13/2015

import java.util.Scanner;

class Adventure
{
    public static void main (String [] args)
    {
        Scanner keyboard = new Scanner(System.in);
        
        String questOne, questTwo, questThree ;
        
        System.out.print(" It's the first day of school and you dont know where to sit, do you sit with the \"preps\" or do you sit with the \"nerds\" ?");
        questOne = keyboard.next();
        
        if (questOne.equals("preps"))
        {
            System.out.println("The preps ask you if you would be willing to host a party to show how cool you are. Do you say \"yes\" or \"no\" ?");
            questTwo = keyboard.next();
            if (questTwo.equals("yes"))
            {
                System.out.println("You have to now ask your parents if they would be willing to let you host this rager, or you could just make them silent and let the party happen, do you \"talk\" to them or do you \"tie\" them down in the laundry room?");
                questThree =keyboard.next();
                
                if (questThree.equals("talk"))
                {
                    System.out.println("Your parents say no because they don't believe that you made any friends on your first day of school. Too bad you should have talked to the nerds.");
                }
                else if (questThree.equals("tie"))
                {
                    System.out.println("You try to tie them down but they are stronger than you because you have the upper body strength of a noodle, you get grounded for trying to disobey your parents, you should have just tried to be a nerd.");
                }
                else
                    {
                        System.out.println("Please try again");
                    }
            }
            else if (questTwo.equals("no"))
            {
                System.out.println("The preps say that it's alright, you can also be cool with them if you can either \"pants\" the principal or you can \"eat\" some cat food, its your choice to become popular");
                questThree = keyboard.next();
                
                if (questThree.equals("pants"))
                {
                    System.out.println(" You try to pants the principal but she is wearing a skirt so you try to take off the whole thing, after exposing the princicals body to the entire student body you are sent home and never return with with cool kids.");
                }
                else if (questThree.equals("eat"))
                {   
                    System.out.println("Congrats, you are now a cool kid with really bad breath!");
                }
                else 
                {
                    System.out.println("Please try again");
                }
                
            }
            else 
            {
            System.out.println("Please try again");
            }
        }
        
        else if (questOne.equals("nerds"))
        {
            System.out.println("You have quickly assimilated with the nerds due to your hot body, they ask you if you will ask out this cute girl, do you say \"accept\" or \"decline\" ?");
            questTwo = keyboard.next();
            if (questTwo.equals("accept"))
            {
                System.out.println("Since you had the bravado to take up this challenge and you start striking up a conversation with her, she has showed a couple of small red flags but she is 8/10, do you \"ask\" her out for a date or do you just \"end\" the conversation?");
                questThree = keyboard.next();
                if (questThree.equals("ask"))
                {
                    System.out.println("You ask her out and she says yes, later when you are on your date she thinks you are cheating on her on the first dat so she grabs the steak knife and stabs you, this is what you get for leaving the house. you are dead.");
                }
                else if (questThree.equals("end"))
                {
                    System.out.println("You end the conversation and go back to your friends, a couple of months later you hear about how she went psycho on her boytoy, you realluy dodged a bullet there.");
                }
                else 
                {
                    System.out.println("Please try again");
                }
            }
            else if (questTwo.equals("decline"))
            {
                System.out.println("Since you wimped out and your new friends are giving you a hard time you want to ask them something, do you ask them if they want to \"play\" some video games later, or do you ask them if one of them will be your \"wingman\" whilest talking to the girl?");
                questThree = keyboard.next();
                
                if (questThree.equals("play"))
                {
                    System.out.println("You go home later and play league of legends and your life is normal, what a boring ending to our adventure.");
                }
                else if (questThree.equals("wingman"))
                {
                    System.out.println("You go with your friend trying to get her to like you, but she ends up liking your freind Ian more and they go out, you go home and make a 4chan post about how your life sucks, the end.");
                }
                else 
                {
                    System.out.println("Please try again");
                }
            }
            else 
            {
                System.out.println("Please try again");
            }
        }
        
        
        else 
        {
            System.out.println("Please try again");
        }
    }
}
        
    



    

Picture of the output

Assignment 1