Skip to content

This is a project for Google Cloud Vertex AI Hackathon. In this software, Google Vertex AI are used 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.

License

ShaolunHuang/dnd-storytelling-game

Repository files navigation

DND StoryTelling Game

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.

Installation

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:

  1. Vertex AI API
  2. Cloud Text-to-Speech API
  3. Cloud Speech-to-Text API

Provide the following environment variables:

  1. STABLE_DIFFUSION_API_KEY: API key for Stable Diffusion API
  2. GOOGLE_CLOUD_PROJECT_ID: Google Cloud Project ID

Usage

python gui.py

Demo

For Demo and Contest information please see: https://lablab.ai/event/google-vertex-ai-hackathon/path-finder/dnd-storytelling-game

Contributing

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.

License

MIT

About

This is a project for Google Cloud Vertex AI Hackathon. In this software, Google Vertex AI are used 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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages