So when some of the (usual) tags are missing, we get an unpleasant rendering of the list of games. Of course, if there is not too much information, it is not so easy to do a nice rendering in the list. The following heuristic could be used in the function printTags:
Use the tags if all are available.
Have useful replacement for missing tags:
Date: ??.??.????
White: unknown
Black: unknown
Event: leave empty
If no tags are given at all, replace it by having the first few moves of the mainline.
When I look at the examples in the documentation, I see the following:
This is rendered from the following source, when showing many games:
So when some of the (usual) tags are missing, we get an unpleasant rendering of the list of games. Of course, if there is not too much information, it is not so easy to do a nice rendering in the list. The following heuristic could be used in the function
printTags
: