Project 1: Choose Your Own Slightly Longer Adventure
//Name: Ilana Levy
//Period: 5
//Program Name: Choose Your Own Slightly Longer Adventure
//File Name project1.java
//Date Finished: 2/29/2016
import java.util.Scanner;
public class project1
{
public static void main( String[] args )
{
Scanner scan = new Scanner( System.in );
String choice1, choice2, choice3, choice4, choice5;
System.out.println( "Welcome new students to Greendale Community College. I wish you luck.\nWould you like to go to the \"cafeteria\", the \"studyroom\", or the \"dorms\"?" );
choice1 = scan.next();
if (choice1.equals("cafeteria"))
{
System.out.println("You've arrived just in time for maximum tension. Do you want to start a \"food_fight\" or \"chicken_empire\"?" );
choice2 = scan.next();
if (choice2.equals("food_fight"))
{
System.out.println( "A group of teenagers starts calling you schmity. Do you engage? \"yes\" or \"no\"");
choice3 = scan.next();
if ( choice3.equals("yes"))
{
System.out.print( "You mimic them for 12 minutes and shout \"DUH\" until your friends come over and pants them. Your ego is saved." );
}
else
{
System.out.println( "You leave, join a frat, and become best friends with a robot that comes alive when people spill booze on it" );
}
}
else
{
System.out.println( "You are now head of a powerful chicken dynasty.Do you shower your friends with gifts? \"yes\" or \"no\"");
choice3 = scan.next();
if (choice3.equals("yes"))
{
System.out.println( "They become spoiled. You have to teach them a lesson. Do you \"stop\" producing chicken or \"take-back\" the gifts." );
choice4 = scan.next();
if (choice4.equals("stop"))
{
System.out.println( "Zuchini Zircles it is.");
}
else
{
System.out.println( "You release the monkey. Now he is loose in the air vents to steal countless purple pens");
}
}
else
{
System.out.println( "Your spanish teacher, \'el tigre\' stages a revolution and forms a chang dynasty.");
}
}
}
else if (choice1.equals("studyroom"))
{
System.out.println( "You meet a loveable group of misfits. Do you start a game of \"paintball\" or take a \"pottery\" class?");
choice2 = scan.next();
if (choice2.equals("paintball"))
{
System.out.println( "Your friends begin playing paintball. Do you \"join\" or go to your car to \"sleep\"?");
choice3 = scan.next();
if (choice3.equals("join"))
{
System.out.println( "Do you want a \"western\" theme or a \"starwars\" theme?" );
choice4 = scan.next();
if (choice4.equals( "western" ))
{
System.out.println( "You meet the Dark Rider and wonder why he's called the Dark Rider even though he doesn't have a horse.");
}
else
{
System.out.println( "You beat Pistol Patty and City College. FOR GREENDALE!!!");
}
}
else
{
System.out.println( "You're the worst. Stop Brittaing this game." );
}
}
else
{
System.out.println( "Congratulations, you are enrolled in Beginner Pottery. You meet a jerk named Rich. Do you try to compete with him? \"yes\" or \"no\"");
choice3 = scan.next();
if (choice3.equals("yes"))
{
System.out.println("He is better than you at pottery. Does that hurt your ego? \"yes\" or \"no\"?");
choice4 = scan.next();
if (choice4.equals("yes"))
{
System.out.println( "You try to \"ghost\" him and get kicked out of pottery.");
}
else
{
System.out.println( "Don't worry, someting will soon.");
}
}
else
{
System.out.println( "That's very mature of you. Do you want a \"valentine\" or a gold \"star\"?");
choice4 = scan.next();
if (choice4.equals( "valentine"))
{
System.out.println( "You sent it to yourself, tremmors, therefore it doesn't count.");
}
else
{
System.out.println( "You might be dating a statistics professor.");
}
}
}
}
else if (choice1.equals( "dorms" ))
{
System.out.println( "You must be having problems. Are you \"homeless\" or is it a \"girl\"?");
choice2 = scan.next();
if (choice2.equals("homeless"))
{
System.out.println( "Do you want to build a pillow \"fort\" or watch \"TV\"?");
choice3 = scan.next();
if (choice3.equals( "fort" ))
{
System.out.println( "Your fort is awesome. Everyone joins in. Do you build it with \"blankets\" or \"pillows\"?" );
choice4 = scan.next();
if (choice4.equals("blankets"))
{
System.out.println( "You have to bring it down to end the Subway conspiracy.");
}
else
{
System.out.println( "Do you go for a world \"record\" or do you have \"fun\"?");
choice5 = scan.next();
if (choice5.equals( "record" ))
{
System.out.println( "You fight with your best friend and make a mocumentary about the Pillow fight civil war.");
}
else
{
System.out.println( "Of course you do. Pillow Forts are amazing." );
}
}
}
else
{
System.out.println( "Pop Culture Pop Culture. You ar entering the Meta Zone. Do you watch the \"Jeffersons\" or \"Breakfast\" club?");
choice5 = scan.next();
if (choice5.equals("Jefferson"))
{
System.out.println( "Sometimes if you put stainremover on a turd, you don't get a diamond, you just get a turd with less direction in life.");
}
else
{
System.out.println( "You have a drunken mantage with a Polish Muslim guy and drunk dial the girl you like.");
}
}
}
else
{
System.out.println( "Has she been captured by \"blorgons\" or \"Vaugn\"?");
choice3 = scan.next();
if (choice3.equals("blorgons"))
{
System.out.println( "You and your trusty constable save her. Now where is your next adventure. Or is it when?");
}
else
{
System.out.println( "Sing \'getting rid of Britta\' and create a fake hackey sac tournament far away. He'll go.");
}
}
}
}
}