Z-Machine Tools as Future Narrative Middleware?

Guncho essentially used Inform 7 as middleware, although the interface it presented to users was designed to feel like playing the Inform game directly.

A modified version of the Standard Rules was used to implement a protocol on top of the usual text I/O, passing events and information about the game state back and forth between the server and the Z-machine or Glulx VM. Player input was tagged with a player ID before being passed in, and the Report rules were run multiple times to describe the action from each other player’s perspective.