public String getInput() {       
              
        String command;
        
        do {
            
            this.display(); // Display the menu
            
            // Get command entered
            command = getCommand();
            
            switch (command) {
                case "B":
                    this.helpMenuControl.displayBoardHelp();
                    break;
                case "C":
                    this.helpMenuControl.displayComputerPlayerHelp();
                    break;
                case "G":
                    this.helpMenuControl.displayGameHelp();
                    break;                  
                case "H":
                    this.helpMenuControl.displayHitsMissesHelp();
                    break;
                case "R":
                    this.helpMenuControl.displayRealPlayerHelp();
                    break;
                 case "S":
                    this.helpMenuControl.displayShipHelp();
                    break; 
                case "Q": 
                    break;
                default: 
                    System.out.println("Invalid input. Please select a valid option from the menu.");
            }
        } while (!command.equals("Q"));  
        return command;
        
    }