private void drawLeaderboard(Graphics2D g) {
        int top_offset = FRAME_HEIGHT/4;
        int lines_offset = FONT_SIZE + FONT_SIZE/2;
        int x_offset = FRAME_WIDTH/4;
        int numbers_offset = x_offset - g.getFontMetrics().stringWidth("9. ");
        int number10_offset = x_offset - g.getFontMetrics().stringWidth("10. ");
        int collumn1_offset = x_offset + g.getFontMetrics().stringWidth("AAAAAAAAAA");
        int collumn2_offset = collumn1_offset + g.getFontMetrics().stringWidth("999999");
        
        for (int i = 0; i < leaderboard.length; i++) {
            if (i != 9) {
                g.drawString(String.valueOf(i + 1) + ".", numbers_offset, lines_offset * i + top_offset);
            } else {
                g.drawString(String.valueOf(i + 1) + ".", number10_offset, lines_offset * i + top_offset);
            }
            g.drawString(leaderboard[i][0], x_offset, lines_offset * i + top_offset);
            g.drawString(leaderboard[i][1],collumn1_offset, lines_offset * i + top_offset);
            g.drawString(leaderboard[i][2],collumn2_offset, lines_offset * i + top_offset);
        }
    }