Nezuji's Stuff

JavaScript Text Adventure

Introduction

Quite some time ago, some guy on the web announced a "2K Text Adventure" competition. The rules were pretty vague -- in fact, open to significant interpretation -- but the spirit of the thing was to write an old-style text adventure in under 3072 bytes ("up to 2.99 KB" in the rules).

I never quite got my entry down under this limit. Or in fact I did, but once I saw some of the other entrants' games, I revised my list of must-have features (number of rooms, objects, verbs, etc) to bring it up to par, and it was this revised game which I was unable to squash down enough. While the competition was never completed, it seemed like a waste not to put this somewhere to be seen. The concept is an interesting one, so I'll probably revisit this code and produce something a little more friendly and interesting, weighing in at 5-10 KB.

Please note: Yahoo!'s ad-linking scripts interfered with my original scripts. In order to get around this without changing my code, I gave the files TXT extensions. Some browsers ignore this and check for an HTML tag anyway (which is present), while others see the extension and display it raw, without parsing it. If you see a screenful of nonsense, you can save the file on your computer, rename it to .HTML, and it should work.

Playable Versions:

User-unfriendly Development Tools:

[ Back to Home ]

Hosted by www.Geocities.ws

1