Converts z-machine games to web service output - without session or server state
Enables playing z-machine games via a webservice. POST a query using Diaglow syntax and get a response from the z-machine.
There are other z-machine web service routers out there, but the big advantage of this one is it's stateless. We don't need to keep a console process running for each new user - each time, we launch the game, get the output, and then save the game again. That should enable better scalability.
To accomplish this, this script:
1/12/2019 Update: I've converted to using a "dumb" interface in hopes of better handling in-game sleep scenarios and to improve performance.
I created this so I could play z-machine games via Google Assistant and Slack.
Google Assistant is especially cool because you can play while walking around using your voice.
Three games currently supported. Pull requests welcome for more. Props to the original game authors:
See my Medium Post for more background.
Slack bot is live! Get it here:
You can also tweet @SpeakYourOwnAdv: https://twitter.com/SpeakYourOwnAdv