Downloaded Pokemon insurgence won't play

I just downloaded the game,I(macOS Big Sur) after seeing someone play on tiktok, I did everything after plugging in the code on terminal and from the pkmn_insurgence folder i pressed run game, so the pop up appeared but, it shut down immediately, I tried again and the same thing happened. Is this an issue with my Mac is there something I need to do