private int getNumberOfHands(PokerGameType gameType) {
        int maxNumberOfHands = getMaximumNumberOfHands(gameType);
        while (true) {
            System.out.println("");
            System.out.print("Number of hands in simulation (2-" + maxNumberOfHands + "): ");

            String input = scanner.nextLine().trim();
            int selection;
            try {
                selection = Integer.parseInt(input);
            } catch (NumberFormatException e) {
                System.out.println("Invalid input");
                continue;
            }
            if (selection < 2) {
                System.out.println("There must be atleast 2 hands");
                continue;                
            }
            if (selection > maxNumberOfHands) {
                System.out.println("There can be a maximum of " + maxNumberOfHands + " of hands");
                continue;
            }
            return selection;
        }
    }