davedotluebke / old-skool-text-game

Coding project used to learn Python
5 stars 4 forks source link

Ai enhanced #197

Closed davedotluebke closed 1 year ago

davedotluebke commented 1 year ago

Implemented AI-generated text for the randomly generated books in the library, using OpenAI's DaVinci GPT3 model. Books generate random text the first time they are read, which prevents them from slowing down the game every time a save/restore happens. Speaking of save/restore, it was broken for random books and we cleaned up the code in the process of fixing them.