Alternative ways to interact with I7 stories?

+2 votes
66 views
asked Jun 30 in Playing by nispio

I would like to be able to take existing I7 stories, and play them outside of the standard I7 GUI. The primary motivation for this is that I would like to integrate an I7 story into a chat bot. This would allow myself and some friends to play the story together over chat.

I already have a chat bot which I have written in python. I would like to be able to feed text input to I7 and have it return the response as text. Any suggestions on which tools from the I7 toolset apply to me, or where I might start?

1 Answer

+1 vote
answered Jun 30 by Dannii (329 points)

The way to go would be to use RemGlk I think: http://eblong.com/zarf/glk/remglk/docs.html

You would use a VM compiled with it as the Glk library, and it gives you JSON access which you can use however you like.

commented Jun 30 by nispio (1 point)
Thanks, this is the kind of thing I was looking for.  (I can't seem to upvote or accept the answer, even after registering.)
This site is now closed.
As of 1st November 2015, this site is a read-only archive. For more information see the intfiction forum post

Welcome to IF Answers, a site for questions and answers about Interactive Fiction.

Technical questions about interactive fiction development tools such as Inform, Twine, Quest, QuestKit, Squiffy, Adrift, TADS etc. are all on-topic here.

Non-technical questions about interactive fiction are also on-topic. These questions could be about general IF design, specific games, entering the IF Comp etc.
...