This repo is for a little fun side-project using generative AI to create a completely open-world game that is different with every play.
The only limit is your own imagination!
- LangChain Agents act as a Games Master in the background, using player interactions alongside a set of pre-defined tools that control elements of the game environment, such as spawning NPC's, monsters, items, etc.
- OpenAI GPT3.5 is used as an 'Art Director' that tells Dalle-3 what images to create.
- Finally, OpenAI TTS-1 will narrate the final outputs of the LangChain Agent.
- First setup your .env file in the root directory:
OPENAI_API_KEY = ...
- Then install the requirements:
pip install -r requirements.txt
- Then run the game in your browser:
streamlit run webapp/frontend.py