How to make an old game fit in my high Android phone

i just wanted to play an old game i used to play before but it doesn’t fit in my xiaomi note 10 s screen. and if i touch something in the game it will affect like 1cm to the left of the touch like this:


is it from my screen or my phone can’t run it anymore