dnf groupinfo "Games and Entertainment"
is the only way that I’m aware of. I think you can add --releasever=34
(or whatever version number) to get the list for a specific Fedora Linux release.
EDIT: The list of installable game packages form the above command does not appear to be complete. aisleriot, for example, does not seem to be listed.