Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main.hyatt.jackson.llcs;
- import java.util.Scanner;
- public class Main
- {
- public static void main(String[] args)
- {
- Scanner input = new Scanner(System.in);
- String response;
- System.out.println("A man goes in to the woods in an act of careless trespassing and sees a house. would you like for the man to go 'toward the house', or back out 'into the woods'.");
- response = input.nextLine();
- if (response.equals("toward the house"))
- {
- System.out.println("When you go to the house the door opens. Would you like to 'go inside' or 'walk away'");
- response = input.nextLine();
- if (response.equals("go inside"))
- {
- System.out.println("So you choose to go inside and you hear a window shatter do you 'run upstairs' or 'turn left'");
- response = input.nextLine();
- if (response.equals("run upstairs then you get hit with an axe"))
- {
- System.out.println("So you choose to go inside and you hear a window shatter do you 'run upstairs' or 'turn left'");
- response = input.nextLine();
- if (response.equals("turn left"))
- {
- System.out.println("you walk into the living room and see a dark silowet in the corner. It dissapears into the darkness and you hear footsteps behind you. You were killed");
- response = input.nextLine();
- }
- }
- if (response.equals("turn left"))
- {
- System.out.println("you walk into the living room and see a dark silhouette in the corner. It dissapears into the darkness and you hear footsteps behind you. You dart behind a couch. You feel a heavy, cold, sharp peice of metal make quick contact with your neck. The house you enterd belonged to a poacher who thought that you were a cop trying to turn him in. He made sure that you were not a possible threat. You were killed.");
- response = input.nextLine();
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement