Skip to content

christ0pher/ai-textadventure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI ADVENTURE BUILDER AND RUNNER

Introduction

This is a very simple AI adventure builder and runner. It is designed to be used as a teaching tool for students to learn about AI and for the curious to just enjoy and play a game. The whole magic lies in the initial prompting. We are setting a context that defines how the game should be played.

How to play

  1. Enter OpenAI API Key
  2. Write an initial starting prompt (Topic, Character, Setting, etc.)
  3. Play the game

How to run

  1. Clone the repo
  2. Install the dependencies
  3. Run the app with streamlit. streamlit run adventure.py

How to run (nix)

  1. nix --experimental-features 'nix-command flakes' run github:christ0pher/ai-textadventure

Note: --experimental-features 'nix-command flakes' is only required if these features aren't already enabled in your nix.conf.

The idea

The idea came during a birthday party and we started with playing around with chatGPT and elevenlabs to get the story read to you. Biggest shoutout to:

About

This is a very simple AI adventure builder and runner.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published