Oh wow, literally one minute after this was posted, I posted a GitHub repo for my own attempt at creating a game in ChatGPT
https://github.com/capnmidnight/ChatGPT-Adventure
I think it could be really interesting to treat prompts as source code and iterate on them in OSS fashion to create better outputs.