this game has some bugs and packaging issues. for one thing, it’s arm-only, which isn’t necessarily a problem, but restricts your audience. pyinstaller has an argument that allows creating a universal2 binary, that would allow this to run on intel macs. something that is more actually a problem is the lack of title.png
in the root of your zip, which prevents the game from starting at all. i made a small all-black png with that name and it worked just fine! sort of. i pressed some keys at random trying to figure out how to move and this happened:
i clipped into the wall, and fell through the world.
then i closed it, relaunched it, and upon completing the game and trying to restart, i see TypeError: main() missing 1 required positional argument: 'restart'
. Looks like you’re calling something with one fewer argument than expected.