public void sendHighScores() {
        int highScoreA, highScoreB, highScoreC;
        try {
            highScoreA = Integer.parseInt(highScores.get(1));
            highScoreB = Integer.parseInt(highScores.get(3));
            highScoreC = Integer.parseInt(highScores.get(5));            
        } catch (NumberFormatException ex) {
            System.out.format("High scores file is corrupted.\n");
            highScoreA = highScoreB = highScoreC = 9999;
        }
        List<String> newHighScores = new ArrayList<>();
        String initials = "AAA";
        int score = SumSimXT.getPlayer().getGold();
        if (score > highScoreC) {
            initials = JOptionPane.showInputDialog("New High Score! Input your initials:");
        }
        initials = initials.substring(0,3);
        if (score > highScoreA) {
            newHighScores.add(initials);
            newHighScores.add(String.format("%d", score));
            for (int i = 2; i <= 5; i++) {
                newHighScores.add(highScores.get(i));
            }
        } else if (score > highScoreB) {
            newHighScores.add(highScores.get(0));
            newHighScores.add(highScores.get(1));
            newHighScores.add(initials);
            newHighScores.add(String.format("%d", score));
            newHighScores.add(highScores.get(4));
            newHighScores.add(highScores.get(5));
        } else if (score > highScoreC) {
            for (int i = 0; i <= 3; i++) {
                newHighScores.add(highScores.get(i));
            }
            newHighScores.add(initials);
            newHighScores.add(String.format("%d", score));
        }

        output.format("HIGH SCORE\n");
        output.flush();
        if (!newHighScores.isEmpty()) {
            for (String str : newHighScores) {
                output.format(str + "\n");
                output.flush();
            }
        }
        output.format("DONE\n");
        output.flush();
    }