GitHub - ethan-w-roland/ai-interactive-fiction: AI Powered Interactive Fiction for Inform games

2 min read Original article ↗

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

AI Powered Interactive Fiction for Inform games

9 stars 0 forks Branches Tags Activity

Notifications You must be signed in to change notification settings

Repository files navigation

AI-powered interpreter for Infocom Interactive Fiction games

To setup:

  1. clone repository
  2. paste your openai api key into openai_creds.json
  3. run pip install -r requirements.txt

To use: python ai_player.py [FILENAME]

Flag Function Default
-d toggles debug False
-m sets Open AI model type, either gpt-4 or gpt-3.5-turbo gpt-4
-l sets the gameplay language for automatic translations (experimental) English

Tested with GPT-4. May still function with GPT-3.5-turbo but your mileage may vary.

Demo Video:

DEMO VIDEO LINK

https://www.youtube.com/watch?v=JHzeb39VqkM

About

AI Powered Interactive Fiction for Inform games

Topics

Resources

Readme

Activity

Stars

9 stars

Watchers

1 watching

Forks

0 forks

Releases

No releases published

Packages

No packages published

Languages