/rando

A bot capable of playing popular tabletop RPG games

Primary LanguagePythonMIT LicenseMIT

This is a bot for playing dungeons and dragons

Setup

  1. If you don’t have Python installed, install it from here

    Documentation for the OpenAI chatGPT API is available here.

  2. Clone this repository

    $ git clone git@github.com:csymonds/rando.git
  3. Navigate into the project directory

    $ cd rando

Virtual environment and dependency installation

  1. Virtualize (Note: Windows users will see venv/Scripts/activate)

    $ python -m venv venv
    $ . venv/Scripts/activate
    
  2. Install the library dependencies

    $ pip3 install -r requirements.txt
  3. Add keys

    Step 1: Make a copy of the example environment variables files

    $ cp example_key_openai.txt key_openai.txt

    Step 2: Copy in your key to the respective file

    Add your OpenAI API key to the newly created key_openai.txt file

  4. Deactivate

    $ deactivate