@Override
    public void getInput() {
        int selection = -1;
        boolean isValid = false;

        do {
            this.displayMenu();
            Scanner input = SnakeWithPartner.getInFile();
            do {
                try {
                    selection = input.nextInt();
                    isValid = true;
                } catch (NumberFormatException numx) {
                    System.out.println("Invalid Input. Please input a valid number.");
                    isValid = false;
                }
            } while (!isValid);
            switch (selection) {
                case 1:
                    this.playMenuControl.playEasy();
                    break;
                case 2:
                    this.playMenuControl.playMedium();
                    break;
                case 3:
                    this.playMenuControl.playHard();
                    break;
                case 0:
                    break;
                default:
                    System.out.println("Please enter a valid menu item:");
                    continue;
            }
        } while (selection != 0);
    }