You cannot use Joiplay to play this game. The game crashes if your system runs out of usable RAM. Another user also using an entry level Samsung phone from a few years ago, like your A31, encountered the same kind of issue, that I cannot replicate on my end with my S10e (6GB of RAM), or my Nokia G22 (4GB of RAM).
Sorry about this, if you have access to another device, I would recommend you to use it.