In a saucepan, combine the sugar and flour. Add the eggs, whisking until the mixture is smooth. Whisk in the milk. Bring to a boil over medium heat while whisking. Remove from the heat as soon as it begins to boil. Add the chocolate and stir until melted. Strain. Cover and refrigerate
for 1 hour.