added "u" and "d" to the case thing
This commit is contained in:
@@ -159,7 +159,7 @@ class Game {
|
|||||||
}
|
}
|
||||||
String commandWord = command.getCommandWord();
|
String commandWord = command.getCommandWord();
|
||||||
switch(commandWord) {
|
switch(commandWord) {
|
||||||
case "go": case "n": case "s": case "e": case "w": case "north": case "south": case "west": case "east": case "up": case "down":
|
case "go": case "n": case "s": case "e": case "w": case "north": case "south": case "west": case "east": case "up": case "down": case "d": case "u":
|
||||||
goRoom(command);
|
goRoom(command);
|
||||||
break;
|
break;
|
||||||
case "help":
|
case "help":
|
||||||
|
|||||||
Reference in New Issue
Block a user