Skip to content

gopuman/ADM

Repository files navigation

🤖 ADM - Automated Dungeon Master 🕹️

Python version Repo size

Welcome to ADM - Automated Dungeon Master repository! ADM allows users to play a game of DND campaign with a fully automated dungeon master powered by GPT-3.

Installation

To install the required packages, run the following command:

pip install -r requirements.txt
  1. Install the latest version of this software directly from github with pip:
pip install git+https://github.com/mmabrouk/chatgpt-wrapper
  1. Install a browser in playwright (if you haven't already). The program will use firefox by default.
playwright install firefox
  1. Start up the program in install mode. This opens up a browser window. Log in to ChatGPT in the browser window, then stop the program.
chatgpt install
  1. Restart the program without the install parameter to begin using it.
  1. Install the latest OpenAI python bindings.
pip install openai
  1. The OpenAI API uses API keys for authentication. Visit your API Keys page to retrieve the API key you'll use in your requests.

  2. Add your API key to the .env file in the root directory of the repository

OPENAI_API_KEY=<YOUR-API-KEY>

Usage

  1. Run the playDND.py file to begin the game
python3 playDND.py

Contributors


Gopal

Mahek

Ruthuvikas

Future Work (To do)

  • In-game Text-to-speech voiceover
  • Speech-to-text input
  • Input as character sheet
  • Dynamic music generation
  • Stable Diffusion over DALL-E

License

This project is licensed under the Apache License 2.0. See the LICENSE file for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published