/* User Interface Group a. Describe, as precisely as you can, what valid user input should look like. (For example, many systems use a verb/object metaphor, such as "grab book" or "say 'Run away!'" or "Smash Sam".) Valid user input should be in the form "verb, object, modifier" or "verb, object," where the verb is in the present imperative form. For example, eat pizza 3 means that the user eats three slices of pizza. Our reading and parsing will be case-insensitive. b. Think about the steps that will have to happen when the user "logs in" and what objects need to know about other objects. (Think about the series of method calls, similar to those we went over in class.) 1. User logs in. 2. UI reads name and password with public void readStuff() and passes that to World through the server. 3. World checks username and password with private boolean isValid(string username, string password). 4. World passes either true or false to user interface. 5. If true, UI declares that user is logged in and initiates session. If false, UI throws an InvalidAccountException 6. UI reads input with public void readStuff() and checks if action is valid. Action must be in arrayOfActions. If not, UI throws an InvalidActionException. 7. If the input is valid, UI calls interact(String actor, String verb, String target), which returns a string. c. List the basic verbs you would like our system to support: eat, pickup, drop, smash, sleep, drink, shout, talk, leave, goto, examine, give, throw, wield d. List synonyms for those verbs: eat OBJ = devour, digest, bite, chew, consume pickup OBJ = get, take, grab, steal, swipe, lift drop OBJ = release, let go, discard, throw away smash OBJ = bash, destroy, hit, decimate sleep = rest, pass out, hibernate, snooze, go to bed drink OBJ = chug, swallow shout OBJ = yell, scream talk STRING = say, speak goto NAMEOFLOCATION = enter examine OBJ = lookat, inspect give OBJECT to PERSON = pass throw OBJECT = toss wield OBJ = grab Emotes smile at PERSON frown at PERSON e. Plan the user interface for world builders. What methods will you need World to provide to allow you to build or extend the world? We need a public boolean IsValid(String username, String password) method that checks if a user's password and username is valid. We need a public String[] getArrayOfActions() method which gets the array of possible actions that a user can perform. We also need an public String interact(String username, String verb, String object) method. We need broadcast(String) to deal with emote actions. */