public void displayAverageScore() {
        double[] playerScores = new double[5];
        int score;
        try {
        for (int i = 0; i < playerScores.length; i++) {
            
            int count = i + 1;

            System.out.println("Enter score # " + count + ": ");
            String value = this.getInput();
            try {
                score = Integer.parseInt(value);    
            } catch (Exception e) {
                throw new GameControlException("Invalid. The number must be "
                        + "greater that 0 and less than 500");
            }
 
            if (playerScores[i] < 0 || playerScores[i] > 500) {
                    throw new GameControlException("Invalid. Number must be between 1 and 499");
                
            }
            playerScores[i] = score;
        }
        } catch (GameControlException ex) {
            System.out.println(ex.getMessage());
        }

        double average = GameControl.findAverageScore(playerScores);
        
        System.out.println("The average score = " + average);
        
    }