Skip to content

flocko-motion/gpt-adventure

Repository files navigation

GPT Text Adventure Game

This is a universal text-adventure game engine generating story and illustrative images based on defined scenario and users input.

Installing the game

You need an OpenAI API-key to run the game:

  1. Put API key into apikey.php.example and save the file as apikey.php
  2. Upload all files to your server
  3. Open "index.html" in browser

Modifying the game

The game is initially configure to run a story based on "Around the world in 80 days" by Jules Vernes.

To use a different scenario:

  1. Edit the text snippets in "script.js" to fit your game idea
  2. Replace illustration.png by a image adapt for your game

That's all..

About

Simple text-adventure game based on OpenAI GPT API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published