Skip to content

Commit

Permalink
initial push
Browse files Browse the repository at this point in the history
  • Loading branch information
flocko-motion committed Mar 25, 2023
1 parent 995591b commit 0e49fbf
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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.php" 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..

0 comments on commit 0e49fbf

Please sign in to comment.