@dfabulich: That’s a fantastic idea! The biggest problem I saw was users accidentaly typing in the final instruction (e.g. open treasure chest) and it’d end the game without any of the necessary previous steps being taken. But your suggestion would work around that nicely by forcing a unique word to trigger the next clue.
So the “source code” for a game like this would be extremely simple: a “key” that needs to be typed in, and a “secret” that is then revealed. Note that the key can’t be too generic: if look would reveal You are in a dungeon, it will always do that, even if the word “look” is part of another sentence. For instance, The goblin shouts 'look out! would be turned into The goblin shouts 'You are in a dungeon out!.
A mini pseudo-adventure, in the format: key secret:
Premise: “You wake up in a room. There’s a fireplace and a locked door.”
Look at fireplace. It’s empty. There’s a loose brick.
Take brick. There are many bricks, which one?
Take loose brick. The brick reveals a red key. You take it.
Open door. It is locked.
Open door with key. Which key?
Open door with red key. You are free! Game over.
Unlock door. With what?
Unlock door with key. Which key?
Unlock door with red key. You are free! Game over.
Some observations:
Since there’s no state, these lines could both be “programmed” in any order, and could be typed in by the player in any order.
There is no wiggle room in interpretation: the key needs to be typed in exactly as provided in the “program”. If you want to make multiple ways of writing work, you’ll have to type them all out:
Open door with red key. You are free! Game over.
Open the door with red key. You are free! Game over.
Open door with the red key. You are free! Game over.
Open the door with the red key. You are free! Game over.
Etcetera. Also, every key is case sensitive, and spaced and punctuation need to match the key 100% as well.
I know this is hardly ideal, and of course you’re better off with a proper parser/engine, but I for one really enjoy the idea that maybe there’s a way to put a creative, fun little adventure into a font. As I said, I’m more of a tech guy, but if you feel the same and want to try writing something like this, let me know 