IgorAlexey / gpt4adventure

Immersive text-adventure with GPT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPT 4 Adventure


Ressurecting text-adventure games with GPT4 and coloring the output.

Instructions

  1. Clone & install the requirements...
git clone https://github.com/Sororfortuna/gpt4adventure.git
cd gpt4adventure && pip install -r requirements.txt
  1. Create a file named .env with your API key
OPENAI_API_KEY=sk-...
  1. launch with python main.py in a reliable terminal.

Ideas...

This is a very simple implementation of a text-adventure game. The app can be extended to use other tools like stable-diffusion in order to generate image of the scenarios for example, in which case, it could be better to have a custom terminal interface rather than converting the images to colored ASCII characters...

If you want to contribute, feel free to create PRs, Issues.

And remember... Don't eat too much grass. image

About

Immersive text-adventure with GPT

License:GNU General Public License v3.0


Languages

Language:Python 100.0%