I spent the last week working on a wrapper for FyreVM that allows it to be used statelessly in a web page. The results, although not pretty, are at http://zifmia.plover.net/.
The Inform 7 game source looks like this:
“Zifmia Test” by David Cornelson
Include Version 3 of FyreVM Support by Textfyre.
Use full-length room descriptions.
When play begins:
change prompt to ” “.
* * * *
I haven’t implemented this as a service yet, which will allow me to implement the controls us jQuery and AJAX calls, but that’s more of a design thing. I wanted to first show that FyreVM can be used as a back end to a web application.
All of the code, Inform 7 project, and web project are at sourceforge.net in the FyreVM project.