if you want the game to run directly from the sd card I can help with that I was able to do it check out
Make code game on raspberry pi 5!