Parser semantics - diminishing returns?

I was thinking that vetting trivial stuff with tooling (LLM or otherwise) would allow beta testers to dive right in to substantive comments. And it’s more respectful of their time, no? Like running spell check before sending it off.

I don’t think it is. Because the game is a story open to subjective interpretation, wrapped in mechanics, nothing’s inherently non-substantive. Humans have the experience of playing it and will variously decide and discover what’s substantive. It’s not only major interpretations of the game’s progression that are substantive. Sometimes the success of an entire effect versus the game looking stupid hinges on a single in-context sentence that an LLM has got no hope of identifying.

Anything that gets in the way of the player’s experience – or conversely, is important to a player’s experience but goes unattended – whether it’s profound or nuts-and-bolts basic – can be substantive. Only humans can decide this stuff based on the particular game in front of them, because it’s for them.

I’m not a 100%-against-AI-in-every-dimension person, but if someone told me an AI had already tested the game in the way described here, and especially if adjustments had been made based on that, I would not be interested in testing it. I’d feel my time was being wasted. Like, does the author want my expertise / experience in this capacity or not? Who is this game for? It’s not for ChatGPT.

-Wade

I see where you’re coming from, but I frequently automate tests like “check that every object has a description”, “make sure every object was placed in a room”, and simply “check that the game can be played to the end by following this script” before sending a game out to testers. It’s no substitute for proper human testing—but it’s not meant to be, either. It’s just a smoke test to ensure I didn’t make dumb coding errors before I send it to people. Same for the spellcheck Paul mentioned, and now I’ve even built some new features into Dialog to catch my personal most common mistakes.

I would see this kind of LLM use as being in the same vein: things like “make a list of every concrete noun mentioned in every room description so I can make sure they’re all implemented”. If a task is so mindless that a machine can do it, like noticing where I typed “goingt o”, I’d rather have my human testers with their limited time and energy focus on the things that only humans can do—like your comment about the entire game looking stupid based on a single in-context sentence.

I definitely do! But because I value your feedback, I’d rather not make you sift through typos before you can experience the actual meat of the game. The game is meant for humans, not for spellcheckers, but I would feel bad if those humans’ experience was ruined by something so simple that it could have been caught by a pattern-matcher and a dictionary.

Yeah, I don’t want to revisit the line between AI and tooly stuff definitions. It’s already been dissected at length on this forum, and I agree that AI can do some tooly stuff. I didn’t necessarily think that’s what we were talking about. Paul’s mention of a spelling check was a comparison.

Personally I’m still borderline on using LLM for automated tasks because its programming is unqualified. The tests you’ve run (and which I run) they follow a script whose entire contents are known and qualified. With an LLM, there is never a guarantee of the nature of results, or even that the results will be repeated the same way. They may only have to be run three times or something, though, with iterations.

People therefore need to check the results. All the results? Good, they’ve checked the results, they can pass it to me. If you say, ‘We need to check the results of non-AI tool tests anyway’, I tap the clause about the unqualified, unobservable programming again.

But really, what my post was about, is sending playtesting of the game to an LLM. Even though I’m still sketch on this other stuff.

-Wade

While I agree that LLM beta testing by itself is insufficient, addressing specifically the “must be checked” part of the equation, I was assuming that the LLM would start a transcript, enter commands, and at the end the author would read the transcript, much like a regular beta tester. While insufficient, isn’t it a reasonably stable usage of an LLM for some initial testing? Still checked by the author at the end.

I could certainly see some humorous interactions, like the difference between GENTLY placing an object somewhere and just placing an object somewhere…and it breaks. Like an adverb rage game. :face_with_symbols_on_mouth:

I am working on my text adventure engine, which started as a parser, and is now parser/choice/any text/turn-based game pretty much engine. It’s nearly ready for a public beta test. For quite a while, I was going ham on adding engine verbs and aliases then finally I realized that I can’t cover every base and finally just added custom command aliases/preps/noise and custom commands with user defined conditions/actions.

So, if it’s not defined by the engine, the user can define it. But this isn’t entirely an engine limitation or issue, it’s also a writing issue. If the game is so obtuse that people can’t figure out how to play it then it may be the writing that needs an update, not the engine. :stuck_out_tongue:

I don’t know Dialog, but if someone here wants to test this kind of stuff in Inform without AI, check out the extension Property Checking by Emily Short for the former, and the TEST command for the latter. (I’m sure the second example can be done pretty easily as well, by running through all objects and checking if they’re enclosed by a room.)

That was part of the inspiration! Sadly, Dialog has no equivalent to TEST ME, nor is it easy to add one; so that mostly has to be handled with external tools like hlship’s Dialog IDE.

I’m working on a custom scripted text/turn-based engine (webplay support but no hypertext/html) with an old school aesthetic and design philosophy right now. Currently, it largely relies on the creator not messing stuff up. It has fallbacks for major stuff, but no validator yet. It’s on the to do list, but I’m about to release a public beta, 0.7.X, not ready for full release/launch yet. If a creator sends a player to Room 10 and it doesn’t exist, they’re sent to the void, a fallback room. I’m holding off on a validator until I’ve hammered down the scripting language and it’s closer to 1.0 release.

However, I’ve got a system where some elements can be created by being referenced. For example, you can define custom commands in the [COMMANDS] block/tags of the script, but you can also create them by referencing them in the [RULES] events, i.e. event triggers/conditions/actions without defining them in [COMMANDS].

Defined items can be sent to and stored in undefined rooms, basically “off map” and also moved back into the defined game world. If I move an item to Room -99 (undefined, or an undefined positive Room ID), I can move it back into the game world with an event trigger/action. However, if you attempt to evaluate an undefined item it returns false, and if you try to action an undefined item it silently fails.

Currently, you can create incomplete scripts (no win/lose condition) which I’ve been doing to create example scripts which demonstrate major systems, how to script them, and how they work. The example scripts/games work, but most of them don’t have win conditions.

Because you can do some of those tricky things, it may make it harder to create a full-fledged validator, but I plan on making at least a basic validator, but maybe just prompt the user if it detects potential issues with the script, but not prevent them from playing/testing it.

That’s one of the problems we ran into with Dialog—in Dialog, objects are created by being referenced, so a typo like (#lamp is #in #wellhuose) isn’t an error. It will create a new #wellhuose object and put the lamp in it.

I ended up adding optional warnings for objects that are used but never declared. People who don’t need/want them can turn them off.