The best way to game on a foldable is with a controller. Like with the new GameSir Galileo G8+.
This new controller is compatible with Android, iPhone, Nintendo Switch, and even PC via USB. Additionally, considering its quality and connections, its price isn't bad either.