@@ -0,0 +1,2292 @@
+/*JohariSimulator.java%0A *By Daniel Taylor%0A *Created November 3, 2014%0A *Update November 24, 2014%0A *%0A *Version 0.1 (Alpha)%0A */%0A %0Aimport java.util.Scanner;%0A %0Apublic class JohariSimulator%0A%7B%09%0A    public static void main(String%5B%5D arg)%0A    %7B%0A    %09User user = new User();%0A    %09Scanner in = new Scanner(System.in);%0A   %09//Welcome%0A    %09System.out.print(%22Welcome to JohariSimulator, an open-world game, where you can raise your very own virtual Johari!%22);%0A    %09%09String nextLine = in.nextLine();%0A    %09System.out.print(%22Let's go to the Johari farm to get your first Johari!%22);%0A    %09%09nextLine = in.nextLine();%0A    %09System.out.println(%22Would you like to adopt a male or female Johari? (Type m or f to choose.)%22);%0A    %09%0A    %09//Gender Select%0A    %09char genderInput  = in.nextLine().charAt(0);%0A    %09%09while (genderInput!='m' && genderInput!='f')%0A    %09%09%7B%0A    %09%09%09System.out.println(%22That's not a valid input!  Please type 'm' or 'f' to choose what gender of Johari you would like to a adopt.%22);%0A%09%09%09%09genderInput  = in.nextLine().charAt(0);%0A    %09%09%7D%0A    %09//Name Select%0A    %09System.out.println(%22What would you like to name your Johari? (Leave blank for default.)%22);%0A    %09String nameInput = in.nextLine();%0A    %09%0A    %09//Default Names%0A    String JohariName;%0A    %0A    %09if (nameInput.equals(%22%22))%0A    %09%7B%0A    %09%09if (genderInput=='m')%0A    %09%09%7B%0A    %09%09%09JohariName = %22C. Johari%22;%0A    %09%09%7D%0A    %09%09else%0A    %09%09%7B%0A    %09%09%09JohariName = %22Kayla%22;%0A    %09%09%7D%0A    %09%7D%0A    %09 else%0A    %09 %7B%0A    %09 %09JohariName = nameInput; %0A    %09 %7D%0A    %09%0A    %09//Pronoun Variables%0A    %09String himher;%0A    %09String heshe;%0A    %09%0A    %09if (genderInput=='m')%0A    %09%7B%0A    %09%09himher = %22him%22;%0A    %09%09heshe = %22he%22;%0A    %09%7D%0A    %09else%0A    %09%7B%0A    %09%09himher = %22her%22;%0A    %09%09heshe = %22she%22;%0A    %09%7D%0A    //Intro%0A    %09System.out.print(JohariName +%22 seems to like you!  Time to take %22+himher+%22 home...%22);%0A    %09%09nextLine = in.nextLine();%0A    %09for (int i = 0; i %3C 50; ++i) System.out.println();%0A    %09System.out.print(%22Let's start learning how to take care of %22+ JohariName +%22!%22);%0A    %09%09nextLine = in.nextLine();%0A%0A    %09System.out.println(user.itemIndex());%0A    %09System.out.println(%22Look up! That's your items index. To access your items index at any time, press the letter 'I' and you can see it!%22);%0A    %09%0A    %09String input = in.nextLine();%0A%09%09System.out.println(user.checkInput(input));%0A    %09%0A    %7D%0A%7D%0A

Create JohariSimulator.java