Skip to main content

Interactive Fiction - Finding the Mouse

For as long as I’ve been using computers I’ve known of text adventures. Using your imagination and the words on the screen, you construct a world in your mind and then interact with it through the computer by typing in commands. The goal is usually to solve different puzzles in order to come to some sort of winning scenario.


Nowadays text adventures have given way to interactive fiction, or IF. Much like text adventures, there is often a goal to reach. However, some can be entirely freeform and offer the reader a variety of scenery and possibilities to explore. They still stick to text as their means of communication and rely on the reader to imagine the scenery. There’s still usually some sort of puzzle to solve, and this can provide a lot of fun for some.


The interactive fiction community is still going strong. There are plenty of archives out there for the curious reader to explore; the most prominent being the IF Archive. There’s a newsgroup at rec.arts.int-fiction (Google Groups link) that’s still quite active. New tools for building IF works have been developed recently that can interpret a designer’s plan in descriptions close to natural language.


I’ve experimented with writing these sorts of adventures for a long time. Early on in my programming experiences I tried to write one in BASIC. The limitations of the platform I was using slowed me down, and my relative green-ness and lack of community to rely on caused me to give it up.


A few years ago I heard about a 1-2K text adventure challenge. The idea was to write a text adventure and its interpreter in 1-2K of executable code and data. I never got around to submitting my entry, as I still had some issues in compressing the text into a small enough space to allow for some code to actually run the adventure. Recently I decided to resurrect that little adventure and develop it with Inform 7.


It took a bit of work to get the adventure to work just right using the features available in Inform. It’s certainly no longer anywhere near as small 2K, given the rich set of commands that Inform gives each and every IF work it produces. These commands allow for more leeway for the player to express their actions.


If you’d like to play my adventure, you can find a Java applet to play it here. If you have a z-code interpreter already, you can download the adventure itself. The basic premise is to find your computer’s mouse so that you can surf the web. The optimal solution can be done with six turns, so the adventure shouldn’t take you too long once you figure out what to do.


I’m going to be updating it from time to time to polish it up, so if you tried it and it was a bit rough, maybe give it another chance later on. The web page makes the story’s modification date available, so you can see when I last updated it.


The news group community has been really great in helping me out with it, and I’d like to thank them here for their support. Guys, thank you so much!


The world of interactive fiction has grown since the days of the earliest text adventures. A certain maturity has given newer titles more depth and flavour, and new possibilities with recent development tools have given writers more time to spend on the story, rather than on the mechanics of dealing with the interpreter. It’s an interesting field, and well worth looking into for anyone who enjoys reading.

Comments

Popular posts from this blog

Losing a loved one, as an atheist

When I was around 11 or 12, I started to question the received wisdom that there was a deity. I came to the conclusion that all signs pointed to no. Do I outright, unequivocally and without reservation deny the existence of such an entity? No. However, I don’t see it as a likely scenario, and until I’m presented with hard evidence, I have enough reason to say that there isn’t. Some people take comfort in their religious beliefs, especially their belief in an afterlife. I have no interest in an afterlife, either for myself of my loved ones. In the past five years I’ve lost both my grandmother and mother, both of whom I loved dearly. No amount of belief in an afterlife would soothe my pain. I mourn at the fact that they are lost from my life, right here, right now. I imagine it’s the same even for those who believe that the dead pass on to somewhere else. You can’t escape the fact that their tangible presence is forever gone from your life. Unless you believe in ghosts, but that’s a ...

If I Grow Up

I’ve figured out what I want to be if I grow up: a writer. In fact, by writing this I’m living the dream, aren’t I? I guess things have been building up to this my whole life; I’ve been reading since I could, and writing even when I didn’t have to. Whatever my mood has been, as long as it wasn’t too severe, I’ve always written. When I was down, I wrote depressing poetry or prose. When I was up, I wrote whatever popped into my head. Now that I’m stable, I can take the time to write coherent, sensible articles. What are you going to write? It’s a good question, and I like it quite a bit. I’m going to write articles here, like the ones I’ve written so far. I’m going to write for HandmadeNews.org , with my first article there out just recently. I’ll always be writing emails. Sometimes I’ll write things down in my notebooks. If I feel like my writing is worthy of it, I might write a screenplay Josh Olson would enjoy reading. I wont bring it to him to read, though. If it’s good enough ...

SpaceRat - an exercise in game programming

Almost entirely throughout my life, I’ve had access to computers. In most of that time I’ve wanted to write computer games. Most of my attempts have been aborted early on, before even getting code written. Stacks and stacks of paper have been used to sketch characters and scenery. One day in 2001 I decided to put together a small Space Invaders-like game named SpaceRat . SpaceRat began as a set of graphics I had created for a friend’s clone of Space Invaders. I had drawn a “hero” space ship and some enemy ships. There were a number of enemy sprites that I did not use in SpaceRat, simple because they did not fit the look I was going for. Starting off with pre-made graphics gave me the push I needed and gave me the opportunity to jump straight into programming the game. I was still in university, but was then employed in a co-operative education placement for discreet, a division of AutoDesk . Health problems prevented me from actually working at the time, and so to judge my ability ...