This commit is contained in:
2025-02-25 12:20:24 +01:00
parent b77ad010ee
commit f175e8a91d
3 changed files with 41 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ public class CommandWords
{
// a constant array that holds all valid command words
private static final String[] validCommands = {
"go", "quit", "help", "look", "status", "take", "drop", "say"
"go", "quit", "help", "look", "status", "take", "drop", "say", "eat"
};
/**