After trying to open the game, open System Preferences, go to Security & Privacy, and there should be a message around the bottom of the window mentioning your attempt to open the “unidentified” program, with a button saying “open anyway.”
Click that and the game should open. (Unless the problem is something else.)