Further lets begin doing so program design. Make sure your program is broken down into several methods. You can use a single class. Below are the methods you should implement and a discription of what those methods should do. None of these methods are allowed to be static methods.
getInput should return the user input. This is the only method allowed to use a Scanner or JOptionPane object.
printOutput should be the only method that prints to the screen.
StoryLoop: this method will do the majority of the work in the program.
Make Story loop
You should loop through a getinput-check-printOutput loop untill the story ends. (you can use an infinite loop and then when an ending state is reached, use a break to leave the loop. Or just check a done flag [implemented as an instance variable] which starts out as false and then is set to true when the story is done. )
You should have at least one path through the story that will result in you having at least 6 interactions with the user
the other paths through the story should have at least 3 interactions.
There should be at least 2 choices at each interaction with the user.
When the story is over, exit the program.
Use the player’s character name at least once in the story. (so before you begin you should ask the player what his/her name is and record that somewhere – perhaps an instance variable)
You are welcome to add any additional support methods that you need to this rather minimal list of methods. Of course you will need a constructor for your class to initialize the instance variables and a main method to start things off as well.





