Skip to content

Fun side-project: An AI generated open-world game with streamlit frontend.

Notifications You must be signed in to change notification settings

Paul-Williamson-90/nerdmaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to NerdMaster!

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!

alt text

How it works

  • 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.

How to play

  1. First setup your .env file in the root directory:
OPENAI_API_KEY = ...
  1. Then install the requirements:
pip install -r requirements.txt
  1. Then run the game in your browser:
streamlit run webapp/frontend.py

Happy gaming!

About

Fun side-project: An AI generated open-world game with streamlit frontend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages