How To Make Your Own Text Adventure On A Computer (Python)
bluzeandmuse.com
bluzeandmuse.com
If you haven't played any before, your first question may be: Why would I play a game made up just out of text? The IFComp is a good place to start. It really helps to what really talented people can do with the medium. Here are two worth playing:
1) Taco Fiction (http://ifcomp.org/comp11/play.php?id=201) and
2) Violet (http://jayisgames.com/games/violet/), both previous winners.
Inform7 is a very widely used tool for making IF now (http://inform7.com/); I haven't played with it much, but from what I've seen, it does some really great stuff. It's a good way to get started writing your own games.
--
Full disclosure: My current project is a way to make CYOA from the browser. (http://adventurecow.com)
But there are many others: http://www.ifwiki.org/index.php/Category:Authoring_system
That said, if you want to understand how such an engine works, it was alot of fun creating something in Python.
It's a community for making and sharing interactive fiction (aka "text adventures") entirely from your browser, using a crazy-ass "natural language"-inspired language called Inform 7.
Some stuff is broken and missing, lots of rough edges.
Relevant: I once built a very simple text adventure engine in C, in a few hours for a /r/dailyprogrammer challenge: https://github.com/tech-no-crat/Cadventure-txt
Done carefully, I'm sure it could all run on Node.js
Their community is awesome!