There are several free software games available built with the libGDX framework.
Some examples:
- Burger Party: https://agateau.com/projects/burgerparty/ and https://github.com/agateau/burgerparty
- Klooni 1010!: https://lonami.dev/klooni/ and https://github.com/LonamiWebs/Klooni1010
- Apple Flinger: https://gitlab.com/ar-/apple-flinger
- Poland can into Space: https://github.com/JSandomierz/pcis
You can type "libgdx" into the search bar at https://mglapps.frama.io to get a list of 13 free software games based on libgdx.
The big advantage with these games is:
- they run on Android, so they are adapted to phone screens with touch input (almost all are available on FDroid)
- they could also run on desktop platforms, with some of the apps already providing .jar archives (e.g. see https://github.com/LonamiWebs/Klooni1010/releases/tag/v0.8)
The problem:
- the .jars can not be run on smartphones like the PinePhone because the .jar builds do not contain the library libgdx.so for the right target architecture
The solution:
- get libgdx.so for the right architecture integrated into the .jars during build time
- maybe this is only a configuration issue (not determined yet)