public void getInput() {       
              
        String command;
        Scanner inFile = new Scanner(System.in);
        
        do {
            
            this.display(); // display the menu
            
            // get commaned entered
            command = inFile.nextLine();
            command = command.trim().toUpperCase();
            
            switch (command) {
                case "B":
                    this.helpMenuControl.displayBoardHelp();
                    break;
                case "C":
                    this.helpMenuControl.displayCardChoiceHelp();
                    break;
                case "H":
                    this.helpMenuControl.displayGameHelp();
                    break;                  
                case "O":
                    this.helpMenuControl.displayOptionsHelp();
                    break;
                 case "P":
                    this.helpMenuControl.displayPlayersHelp();
                    break; 
                case "Q": 
                    break;
                default: 
                    new MemoryError().displayError("Invalid command. Please enter a valid command.");
                    continue;
            }
        } while (!command.equals("Q"));  
        
         return;
    }