dnd-storytelling-game is a project for Google Vertex AI Hackathon. It uses AI to create a multiplayer D&D-style storytelling game with in-game user text input that influences the story with fixed and accurate combat logic.
Please use Python 3.7 or above.
Optionally create new virtual environment for python.
python -m venv venv
source venv/bin/activate
Use the package manager pip to install all dependencies.
python -m pip install -r requirements.txt
Install Google CLI and authenticate with your Google account from this url.
gcloud auth application-default login
On Google Cloud Console, please enable the following APIs:
- Vertex AI API
- Cloud Text-to-Speech API
- Cloud Speech-to-Text API
Provide the following environment variables:
- STABLE_DIFFUSION_API_KEY: API key for Stable Diffusion API
- GOOGLE_CLOUD_PROJECT_ID: Google Cloud Project ID
python gui.py
For Demo and Contest information please see: https://lablab.ai/event/google-vertex-ai-hackathon/path-finder/dnd-storytelling-game
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.