How to Fix Common Fudge Problems
from https://www.thespruceeats.com/, by Elizabeth LaBau

Traditional fudge, old-fashioned fudge, is actually a close relative of fondant. It shares the same cooking process and theory: a sugar syrup is boiled, then cooled to a specific temperature, then beaten just until it starts to crystallize. When done properly, this type of fudge has a texture that cannot be imitated; firm creamy, and smooth, it’s an absolute pleasure to taste. But old-fashioned fudge isn’t the only game in town. "No-fail" fudge recipes have become more popular. These shortcut fudges use chocolate and marshmallows to help the fudge set and give it a smooth texture, eliminating the need for long periods of cooling and beating.

If you're having trouble with your fudge, you're probably following a recipe for old-fashioned fudge—candy cooked to a specific temperature, cooled, then beaten until thick. Old-fashioned fudge can be fussy, especially on your first or second attempt. Some home cooks complain that their fudge is grainy, crumbly, or burnt while others complain that their fudge never sets properly. If you've encountered one of these problems, don't worry—you can probably save your fudge.

Fixing Fudge

Sometimes old-fashioned fudge never sets, even after hours in the refrigerator. You wait patiently, only to discover that it's still a sticky, gummy mess. But don't despair or throw out the entire pan of fudge: You can probably remedy the situation.

Fudge usually behaves this way when it's not cooked to a high enough temperature (due to oversight or a faulty candy thermometer).

If your fudge is tough, hard, or grainy, then you may have made one of several mistakes: You may have overcooked it, beaten it too long, or neglected to cool it to the proper temperature. Don't throw out the whole pan, because you may be able to melt the fudge down and try again. Of course, if your fudge has a distinctly burnt or scorched flavor, you'll have to start over with a fresh batch.

To fix soft fudge or hard fudge, simply follow these easy steps:

Tips for Fudge Makers