public void render(Graphics g){
        // Draw History contents table
        Font fnt0 = new Font("arial", Font.ITALIC, 10);
        g.setFont(fnt0);
        g.setColor(Color.green);
        g.drawString("(LAST 15 GAMES)", (Cong.WIDTH * Cong.SCALE) / 2 - 45, start_y - 37);
        Font fnt1 = new Font("arial", Font.BOLD, 12);
        g.setFont(fnt1);
        g.drawString("DATE", 25, start_y);
        g.drawString("P1", 100, start_y);
        g.drawString("P2", 300, start_y);
        g.drawString("SCORE", 500, start_y);
        g.drawString("DURATION", 550, start_y);
        
        String line = "";
        String cvsSplitBy = ",";
        int gameCount = 0;
        
        Font fnt2 = new Font("arial", Font.ITALIC, 10);
        g.setFont(fnt2);
        String[] record;
        for (int i = 0; i< records.length; i++) {
            if(records[i] != null){
                gameCount++;
                // use comma as separator
                record = records[i].split(cvsSplitBy);
                g.drawString(record[0], 25, start_y + (spacing_y * gameCount));
                g.drawString(record[1], 100, start_y + (spacing_y * gameCount));
                g.drawString(record[2], 300, start_y + (spacing_y * gameCount));
                g.drawString(record[3], 500, start_y + (spacing_y * gameCount));
                g.drawString(record[4], 550, start_y + (spacing_y * gameCount));
            }
        }
    }