Awesome Open Source
Awesome Open Source


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:

  • Calls DynamoDB to figure out what game you were playing.
  • Loads your save game file from s3.
  • Invokes the z-machine on the command line and captures the output.
  • Saves the game again and uploads to s3.
  • Returns the output as a string in a JSON object.

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:

Add to Slack

You can also tweet @SpeakYourOwnAdv:

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
css (7,243
nodejs (3,702
redux (1,163
google-assistant (29
z-machine (15

Find Open Source By Browsing 7,000 Topics Across 59 Categories