If the fudge is grainy, this is a sign that you did not boil the sugar long enough for the crystals to dissolve.