In a previous blog post, I announced the completion of an open-source text adventure game engine, aptly called Adventure.
The game engine came with a command-line front-end for demonstration purposes.
I’ve now implemented a quick-and-dirty web front-end of the engine. It also includes text-to-speech, reading out the contents of the story to the user. I had intended to implement speech recognition as well, but this isn’t enabled in Firefox by default so I didn’t include it.
Unlike the engine, this front-end is not really put together with other developers in mind, but if you’re interested, you can get the code here. It’s pretty simple stuff; the UI is made with React, gulp is the task runner putting everything together, and I use Express as a web server.
Next up is writing a work of interactive fiction.