I saw a meme one time that went something like this:
"AI is so cool, I asked ChatGPT to combine a card game with a flight simulator and it did it!"
"Yeah, that is pretty cool I guess."
"My question for you is, what do I do with the code it gave me?"
"What?"
"Where do I put the code to make a game?"
Just ask ChatGPT for that too, it'll happily walk you through standing up Unity or whatever.