←back to thread

191 points SeenNotHeard | 6 comments | | HN request time: 1.752s | source | bottom
Show context
ninetyninenine ◴[] No.44425788[source]
LLMs can enhance text adventures.

I'm not saying having LLMs narrate the entire situation. I'm saying have the LLM sit between gamestate and the player. The LLM is the UI.

Essentially the LLM can see the current game state and possible moves and it's the LLMs job to change the game state and report the current game state to the user (via a well written narrative).

That keeps the world consistent and structured, but the LLM adds enough dynamism to keep it flowing well. You can even make the underlying game state complex as well. Like you can have enemy AI's that actually move through the world too (independent of the LLM).

replies(2): >>44425845 #>>44427682 #
anthk ◴[] No.44427682[source]
Even Inform6 with the English library running under a Pentium would run circles over llm's. They aren't even close. If7 will curb-stomp it.

NPC's running around were a thing even in the 80's, see The Hobbit. That on a ZX spectrum. 8 bit CPU, 48k of RAM. With if6 and Zmachine games for 16 bit and 32 bit computers in the 90's llm's can't even compete.

From Jigsaw, Anchorhead, Curses, Spider and Web to that anagram word puzzle game for Glulx (a 32 bit zmachine cousin), the array of amateur but professional looking games it's huge, really huge.

replies(1): >>44428357 #
1. ninetyninenine ◴[] No.44428357[source]
How? The LLM is in agentic mode and pulling and pushing the switches of the game. I don't see how these engines can curb stomp it.
replies(1): >>44430834 #
2. anthk ◴[] No.44430834[source]
The i6 and i7 languages have a guaranted internal consistency starting with grammar. Even if6 ('old' compared against i7) it's an incredible language targetting the Z Machine with a really easy OOP architecture to design your games. LLM's often lose the internal storyline on bizarre ways.

An Inform 6 compiler can run under DOS/386 or Linux/BSD for 486 and compile a really large and functional game in seconds. For Inform7, maybe a Pentium II/III and a bunch of seconds too.

An AI to do the same, not even a 'modern' Core Duo with a GL 2.1 adapter (the lowest of the lowest bearable specs for light web browsing and office work) can't even run a consistent world.

replies(1): >>44435527 #
3. ninetyninenine ◴[] No.44435527[source]
That’s not my proposal. The LLM doesn’t run the world. It is simply the interface. It tells you the state of the game and tries to enhance the description. The game is a separate application and the LLM is simply an agentic layer between you and the actual game.
replies(1): >>44437444 #
4. anthk ◴[] No.44437444{3}[source]
Inform 6/7 users don't need that. The engine does it all, modulo the object descriptions.
replies(1): >>44441138 #
5. lIl-IIIl ◴[] No.44441138{4}[source]
The engine doesn't understand natural English. It only understands the hard-coded words. The game author forgets to include some common verb or an uncommon spelling, and oops, an otherwise great puzzle is now very frustrating.

There's a reason "Guess the verb" meme exists. There's even a satire game on this concept: https://ifdb.org/viewgame?id=35arqepm2q92hcqu

replies(1): >>44441181 #
6. anthk ◴[] No.44441181{5}[source]
The engine is the ZMachine, and depending on the target and the grammar (IF6+English, or better, i7) the 'guess the verb' issue straightly died in the 90's.

Your comment coudn't be more outdated since the Curses! release for the ZMachine in 1993.

The v5 machine release was much better than the v3 one, and the v5-V8 ones allowed semi-complex phrases with indirect object pronouns after a previous entered phrase and much more.

Go play Anchorhead and compare it to a z3 machine game from Infocom, or any game made it with Puny Inform.