Changed switch statement to
Character.getNumericValue(selectNumberOfPlayers.charAt(0));