This little proof-of-concept is a translation of a simple text adventure I wrote a couple of years ago in Perl. The conversion to JavaScript was more straightforward than I expected, but the resulting code is fairly messy. A rewrite isn't on the cards for the next million years, so it's here under the RAW! banner until I get around to doing just that.
The old Perl version, took about a month to write (in between other things - earning a living for instance), but the main basis for it took about 15 minutes. This translation took a couple of days. Hint: To see the old Perl code, try typing MMIII somewhere.
Bug reports (for this JavaScript version) to the address at the bottom, but I think I've caught all the translation related bugs already.
Notes: