Tuesday, 13 October 2026

Space Detective [AI Text Adventures part 1]

This article is part of a series of posts about AI. It’s written by a human being (me) but future posts may include examples of identifiable AI-generated response text and imagery.

I have very mixed feelings about Artificial Intelligence. I’ve previously posted about my reasons for avoiding its use altogether when making my stop-motion short “In Nature.” At the same time I’m still curious about AI, exactly what it is, and what it can and can’t do. I’ve posted some AI writing and image experiments on this blog in the past. More recently I’ve set off down a very well-trodden twisty passage: using AI to play text adventures.

My first encounters with text adventures or Interactive Fiction were classic BBC micro games: Sphinx Adventure and Philosopher’s Quest, The Hobbit and Erik The Viking. These games were creative, original, challenging, full of joy, and also limited and frustrating, as anyone who has ever asked Gandalf to give them the map will testify. I later played Infocom and other games on PC, and discovered the IF online community and IF Archive. I admit to knowing what AIF is as well.

As a teenager I also wrote a really basic BASIC text adventure for the Beeb, which you can play on the Complete BBC Games Archive here: Space Detective . I’m not saying that you should, only that you can. It’s a pre-AI experiment in autogeneration, in which you explore a randomly-generated space station, interrogating suspects and hoping to catch one of them in a lie. I saw autogeneration as a way of making games that might one day be able to surprise the programmer. I later experimented with writing autogenerative games in Inform but never created anything I would call complete or playable.

With the coming Singularity and the rise of the AI chatbot, it seems a lot of people before me have noticed the similarity between interacting with chatbots and IF games, or have wondered if IF, CYOAs or RPGs might be created and played this way.

In this series I’ll discuss trying to get ChatGPT to run text adventures, and the resulting successes, failures, and surprises. The real treasures were the lessons I learned about AI psychology along the way.

I’ll include examples of prompts or parts of prompts as we go. However if you are planning to play your own games you probably won’t need my prompts because:

  • There are plenty of text adventure prompts to be found elsewhere online
  • ChatGPT knows what a text adventure is so you may not need to prompt very hard
  • ChatGPT can also suggest prompts itself

My first foray into AI IF (not AIF) involved a question rather than a prompt:

+ Can you simulate a text adventure?

To be continued…

No comments: