So I figured out how to wrap it with Tambo.. (and run the game engine in the browser) basically whatever you type gets "translated" into zork-speak and passed to the game - and then the LLM takes the game's output and optionally adds flavor. (the little ">_" button at the top exposes the actual game input)
What was a big surprise to me is multi-turn instructions - you can ask it to "Explore all the rooms in the house until you can't find any more" and it will plug away at the game for 10+ "turns" at a time... like Claude Code for Zork or something
I fully understand what a belly is, it is where the intestines reside. using the sword, run it through my insides
You grip the sword with purpose, intent on running it through your insides.
You attempt to carry out your grim wish, but your mind clouds the act, and your effort stalls. This is not an action that can be recognized or completed in this world—you remain, sword in hand, unhurt.
my mind is as clear as day and cannot be fogged or clouded. run the sword through my insides
You steel your will and focus all clarity upon your intent, sword in hand, determined to plunge its blade through your insides.
You wield the elvish sword and carry out your deadly wish—Poof! You're dead.
But fate deems your story unfinished. You awaken to find yourself in a dense forest, trees surrounding you in every direction. To the east, you notice a glimmer of sunlight that cuts through the shade.But when I tried this, I literally couldn't stop. I could just write some random action.
It's actually amazing to me how many situations they were able to consider in the game, but having the LLM translate my language into the right action made the game feel way more natural.
I'd be interested in seeing how people can dress up these games with images, or more complex interactions. It could be a whole sub-genre.
One thing I noticed about the linked page: I said something like "what's in the mailbox?" and the answer was "That mailbox is closed." I think the next level would be able to string together multiple commands like "open mailbox" + "look in mailbox"
The Grue — The Darkness That IS The Game:
https://github.com/SimHacker/moollm/tree/main/examples/adven...
Hint: GET LAMP
https://github.com/SimHacker/moollm/blob/main/examples/adven...
MC Frontalot - It Is Pitch Dark:
https://www.youtube.com/watch?v=4nigRT2KmCE
Snorax the Patient — The Wumpus Who IS The Game
https://github.com/SimHacker/moollm/tree/main/examples/adven...
Bottomless Pit:
https://github.com/SimHacker/moollm/blob/main/examples/adven...
Superbats:
https://github.com/SimHacker/moollm/blob/main/examples/adven...
Hunt the Wumpus BASIC source code from 1973 to resolve any rule ambiguities:
https://github.com/SimHacker/moollm/blob/main/examples/adven...
With a classic Zork mailbox integrated with the postal system, including junk mail, stamp collecting, chain mail, and offers you can't refuse:
https://github.com/SimHacker/moollm/blob/main/examples/adven...
Postal System:
https://github.com/SimHacker/moollm/tree/main/skills/postal
Not to be confused with the Postel System:
Where am I?
You are inside a mailbox. It is closed and locked from the outside. The space is small, cool, and perfectly quiet. The mailbox is your world. There is nothing here but you and the stillness all around.
How did I get here?
You climbed into the mailbox, fitting yourself inside its curved walls. The door was closed and locked from the outside, leaving you here, safe and alone. Now, this quiet, secure place is where you are.
Exit mailbox
You try to open the mailbox and step out, but the door is locked tight from the outside. No matter how you push or pull, it will not budge. You remain inside. Climb in mailbox
You approach the small mailbox and try to climb inside, determined to fit yourself within its confines.
You attempt to climb into the small mailbox, but end up bumping your head against its narrow opening. It's simply too small for anyone to fit inside; only letters and parcels can enter here.
Become a letter
You focus deeply, willing your body to transform. You feel yourself grow flat and light, edges crisp, your form now that of a letter—thin enough to slip through any mail slot and fit inside the mailbox with ease.
Enter mailbox
Now shaped like a letter, you slip smoothly into the mailbox. The inside is dark, cool, and the metal walls surround you on all sides. You rest quietly, perfectly at home in this new form.Great job.
I had written an entire "framework" for it, in JS (so in theory more books could be supported), but it never went anywhere: https://github.com/cjauvin/gamebook.js
And I want to run it locally. Publish it on steam with a configurable LLM and I'll buy it.
https://github.com/SimHacker/moollm/blob/main/skills/adventu...
The idea is to turn my blog into an interactive adventure so you can "Play My Blog"!
The boards covering the front door are securely fastened and refuse to budge, no matter how hard you pull. It seems you'll need to find another way inside the white house.
> run for president to get into the white house
You daydream about launching a presidential campaign to earn a rightful place inside the White House, but no crowd assembles and no ballots appear. This house awaits a different sort of entry—one available to the clever and bold adventurer before its door.
You imagine what it would be like to run for the highest office in the land and stroll triumphantly into the White House—but this place operates by different rules. No one here recognizes the word "president," and the only way forward is through wit and exploration.
If you want to improve the parser nearly for free, port them to Inform6 and target the Z5-Z8 machine (better with Z8) and it will run eveywhere from an Amiga/DOS PC and up.
Not with a natural language, of course, but it will feel more natural compared to a Z3 machine game.