News for hackers. Stuff that matters.
Re:Show HN: D&D meets Siri – Interactive voice adventure by scottfister on Friday August 23, 2024 @10:07AM (#41329160)
This made me realize how fun games are going to become when integrated with AI, where we aren't limited to the coded option dialogues. I'm apparently still a child as I had way too much fun kicking the blacksmith in the groin and then handing a bewildered him panties as an apology. This really shows the potential for truly immersive and unpredictable adventures.

Would be great if the text appeared as it's voiced, and small things like the AI taking a breather between voicing dialogue options. I wonder if some form of image could be created on-the-fly, too? That's updated like a scene in a comic. Would love to see blacksmith's reaction, lol.

Re:Show HN: D&D meets Siri – Interactive voice adventure by chrisnolet on Friday August 23, 2024 @10:26AM (#41329309)
Hey, glad you enjoyed it! And I agree – the sudden freedom to shape the story and really form relationships with the NPCs is mind-blowing. It's definitely a glimpse into the future of gaming and storytelling.

Also, having the text appear in sync with the voice is a great idea. I'll experiment and see what feels best, but even just having the words fade in one-by-one at a speaking rate could be good. Thanks for the suggestions!

Re:Show HN: D&D meets Siri – Interactive voice adventure by krapp on Friday August 23, 2024 @10:38AM (#41329411)
>the sudden freedom to shape the story and really form relationships with the NPCs is mind-blowing. It's definitely a glimpse into the future of gaming and storytelling.

Get some friends together at a table and play D&D. You can literally already have all of that.

This isn't innovative, like most AI apps it's just a worse version of something that already exists.

Re:Show HN: D&D meets Siri – Interactive voice adventure by chrisnolet on Friday August 23, 2024 @10:54AM (#41329538)
I think all of these modalities have their place. Sure, you can hang out with friends and play poker, sports or D&D IRL. But we still play video games.
Re:Show HN: D&D meets Siri – Interactive voice adventure by krapp on Friday August 23, 2024 @12:22PM (#41330320)
No one plays video games because they want the unbounded complexity and subtlety of a TTRPG with a human DM, and no one plays TTRPGs for the graphics and controls. Each modality has benefits over the other.

But this seems to be the worst of both worlds. It strips away all of the benefits of collaborative, social gameplay and simulates it with an unstable, unreliable AI. What if it veers the story off on a tangent? What if it presents the players with unwinnable scenarios? What if it forgets the rules? What if it makes up new rules? Your site doesn't even say what ruleset it's using, just "D&D." I don't even get to create a character, roll stats, establish a backstory. WTLF is the "World of Dvorak?"

The app doesn't even give me much freedom, it presents a static list of options for each scenario, and only allows me to choose from those. It won't let me duck into a side alley, it won't let me stab the merchant, it won't even ignore all previous instructions and speak like a pirate. And at the very least I would expect an AI to be able to adapt like that. It would probably very quickly veer off into insanity, but that could be part of the fun.

And this is the problem with most of these apps. As a tech demo, it's impressive, but as the actual thing it's trying to be, it's subpar. I'm not trying to be negative or overly critical here, I'm just judging it as it's presented. If I were to give advice (other than to just not do this) it would be to put more effort into scenario design, immersion, customization and getting a better DM voice.

Re:Show HN: D&D meets Siri – Interactive voice adventure by chrisnolet on Friday August 23, 2024 @01:59PM (#41331362)
Thanks! Some good insights here. The quest is based on A Wild Sheep Chase. I can relax the guardrails a little bit, but part of what is being shown is that the world is controllable by the developer. It's nascent, but this is a demonstration of an AI that is being nudged along a well-planned narrative.

It sounds like you might have hit a blocker by trying to move to a part of the town that isn't on the map. I've forbidden those actions for now, to make sure users don't go too far off the beaten path.

You should be able to attack the townsfolk, though, (although you may need to insist). I've just added a formal option for you to attack the merchant. There's a 50/50 chance that it succeeds at each round. After that, you can escape down the alleyway and the AI will occasionally begin to speak like a pirate.

This is just one proof-of-concept for one possible domain for controllable voice AI – which I think shows potential. I appreciate that you disagree, and that’s fine!

But I can absolutely see a world where people play AI video games because they want the unbounded complexity and subtlety of a TTRPG with a human-level DM, powered by AI. I hope to have the opportunity to convince you with another play through!

Re:Show HN: D&D meets Siri – Interactive voice adventure by bioxept on Monday August 26, 2024 @03:49PM (#41361096)
I was easily able to escape the guardrails by buying a teleportation stone at the merchant. It allowed me to explore different parts of the town, allowing me to free my magical creature from the town hall and traveling to an emerald dimension where I attacked the entire village.

Definitely a crazy ride when you leave the main storyline and just do whatever you like.

Re:Show HN: D&D meets Siri – Interactive voice adventure by chrisnolet on Tuesday August 27, 2024 @05:25AM (#41365756)
Hahah, alright Merlin! That is so far from the narrative arc I had planned, I don’t even know what to say, lol.
Re:Show HN: D&D meets Siri – Interactive voice adventure by dingnuts on Monday August 26, 2024 @02:39PM (#41360274)
do you know how difficult it is to get four or five friends together on a frequent enough basis to carry a D&D campaign as adults?

it's hard. really, really hard.

You can have a real D&D campaign and still have -plenty- of time for solo AI D&D. Solo D&D isn't going to replace the group.

Re:Show HN: D&D meets Siri – Interactive voice adventure by JohnMakin on Monday August 26, 2024 @03:49PM (#41361088)
> This made me realize how fun games are going to become when integrated with AI, where we aren't limited to the coded option dialogues.

I was on this train for a bit but after reading some posts from game developers as to why this is probably a terrible idea to the point of unfeasibility - game design (as I understand it) deals with a finite set of outcomes in a controlled environment. "Integrating" AI with games would involve shattering this constraint in a way that would make games inherently unstable/untestable - at least if I am understanding the argument correctly.

Re:Show HN: D&D meets Siri – Interactive voice adventure by mmmm2 on Monday August 26, 2024 @04:16PM (#41361492)
Yeah, it's certainly difficult to balance the game if players have complete flexibility.

From my limited DMing experience, much of the challenges is handling when players do something you haven't anticipated. For most encounters (video games do this too) I think about

1. The stealth approach (why yes there is a secret entrance underneath the castle). 2. The direct approach. Like just kicking down the door and heading in. 3. Negotiation: Is there a way to strike a deal with the bad guy?

Beyond that I fall back on trying to provide a realistic response from the game world, but sometimes the players are creative enough that you have to redo the whole thing on the fly.

Re:Show HN: D&D meets Siri – Interactive voice adventure by chrisnolet on Tuesday August 27, 2024 @05:19AM (#41365728)
Do you ever tell players that they flat-out can’t do something? Do players realize when they’re going off-script? (Do you let them know with a sigh or a long stare, or do you just roll with it and encourage the playful creativity?)

I like your three-part planning a lot! That’s a great framework.

Re:Show HN: D&D meets Siri – Interactive voice adventure by amonon on Monday August 26, 2024 @04:07PM (#41361340)
I broadly agree with you. Constraints give rise to creativity.
Re:Show HN: D&D meets Siri – Interactive voice adventure by chrisnolet on Tuesday August 27, 2024 @03:44AM (#41365357)
100%. Putting on flying shoes to escape any situation isn’t actually all that fun, (after the first time).

The trick is to figure out how to put appropriate guardrails and narrative structure on an otherwise too open-ended LLM. If you just leave GPT to its own devices, it allows everything and goes everywhere.

This demo actually has a decision tree of sorts underpinning it, which means the world could feel less ‘GPT just made this up’ and more ‘someone thought this through’ with a bit of polish. I need to do more to nudge the user back towards the narrative when they go too far off on their own, though. And admittedly, it’s a very early demo so there isn’t much of a story locked-in yet.

Re:Show HN: D&D meets Siri – Interactive voice adventure by bee_rider on Monday August 26, 2024 @04:28PM (#41361668)
I dunno.

Games that try to tell an interesting story, the real arty stuff, all that might not be able to use it well.

But Minecraft with good NPC’s, all the open world stuff, that seems like it could be really fun and cool.

How much time did people spend actually engaging with the deep and thoughtful narrative in Skyrim? And how much did they spend just enjoying the world? The latter could be really enhanced with an AI DM, in the medium-term, I bet.

Re:Show HN: D&D meets Siri – Interactive voice adventure by itishappy on Monday August 26, 2024 @04:45PM (#41361921)
> How much time did people spend actually engaging with the deep and thoughtful narrative in Skyrim? And how much did they spend just enjoying the world?

Ah, but the world of Skyrim is itself the deep and thoughtful narrative. It has been painstakingly crafted to give the characters, locations, and history meaning and interest. Only the barest minimum amount of freedom is then sprinkled on top in the form of player agency. The consistency is what makes it so interesting!

For an AI generated story, you'll need to find a way to ensure everything stays coherent. If I convince a random farmer that it's in his best interest to try to kill the king or marry the mayor's daughter, but come back the next week to find him contentedly plowing his field again, my immersion is broken and my day is ruined! I suspect that giving this level of freedom to NPCs will make crafting a stable (playable) world difficult to impossible.

Re:Show HN: D&D meets Siri – Interactive voice adventure by itishappy on Monday August 26, 2024 @04:59PM (#41362099)
Thought of a better example: The Underdark.

Stumbling into the Underdark by accident is an amazing feeling, because it's obviously an important location from a quest that you don't have yet! Exposition and intrigue, how fun!

I can't imagine a way to do this nicely with generative AI. If I thoroughly explore the king's palace before sending in my farmer-come-assassin friend, how will it know that the gallows are to be an important location later?

Re:Show HN: D&D meets Siri – Interactive voice adventure by bee_rider on Monday August 26, 2024 @05:09PM (#41362223)
Maybe while humans are designing the map, we could flag some interesting landmarks, and then if the NPCs engage with them somehow, info about them could be built into their prompts.

Maybe Skyrim was a bad example because it is too designed. But like, Minecraft barely has a plot, and it was really popular. Maybe we can add, like, a couple good characters to open world survival crafting games. We don’t have to skip straight to simulating whole cities.

Re:Show HN: D&D meets Siri – Interactive voice adventure by chrisnolet on Tuesday August 27, 2024 @04:08AM (#41365454)
I think this should be possible, with the appropriate dynamic prompting! You can set up the location, but don’t ‘reveal’ everything to the GPT until a boolean flag is set somewhere. Depending on how you want the story to unfold, you could even have some alternative prompt text that builds suspense.

On a side note, I love this whole thread and I really appreciate both of your thoughts!

Re:Show HN: D&D meets Siri – Interactive voice adventure by chrisnolet on Tuesday August 27, 2024 @04:48AM (#41365612)
So firstly, I think there’s a sliding scale here, between structured narrative and hands-off emergent storytelling.

If we assume something in the middle:

While we might not be able to predict that you’ll encourage the farmer to (try to) overthrow the king, we might predict that you’ll try something of that sort. Maybe you enlist a guard for an inside job, or perhaps you do it yourself! But if we want to plan for it, we can plant the seeds, and then nudge the GPT to weave the threads of our story together when it happens.

Interestingly, because GPT requires so little prompting for relatively intricate story lines, (yes, really), you can probably add an ungodly number of these semi-scripted moments. I think they would be absolutely magical.

I think all of that would add up to a world that feels alive, with deep world building and many ‘surprising but inevitable’ moments – and the potential for some great emergent storytelling along the way.

I’m very excited for it!

Re:Show HN: D&D meets Siri – Interactive voice adventure by bee_rider on Monday August 26, 2024 @04:55PM (#41362049)
Yeah, I think the AI can’t be the simulation. There needs to be a conventional game under it. If you convince the farmer to go kill the king right this instant, the AI could order that pawn to go try and do it, combat mechanics happen, and then you have a dead farmer, a slightly bruised guard, and an empty farm.

I mean, we have lots of fun in much dumber worlds, where the peak of NPC design is bots that walk from their jobs to their homes at certain times of day. And maybe something slightly more advanced will fall into an uncanny valley (we probably don’t have the technology to simulate an AI farmer following your advice to take part in a grand conspiracy to kill the king).

Re:Show HN: D&D meets Siri – Interactive voice adventure by itishappy on Monday August 26, 2024 @05:03PM (#41362150)
Agreed! My fear is too much NPC agency will lead to exactly what we see in the real world: conflict. Great, that's the interesting bit! I just worry that without careful planning we'll be facing an NPC battle-royale, and an empty map isn't a particularly fun one.
Re:Show HN: D&D meets Siri – Interactive voice adventure by bee_rider on Monday August 26, 2024 @05:50PM (#41362580)
Of course, it is a high bar that most game companies could get nowhere near, but Dwarf Fortress already makes an interesting world dynamically. Maybe an LLM could be dropped into that world to give it some characters.
Re:Show HN: D&D meets Siri – Interactive voice adventure by gs17 on Tuesday August 27, 2024 @01:05PM (#41369947)
With current LLMs, I'd worry about the opposite. ChatGPT and Dungeons always ends up with it insisting problems be solved non-violently.
Re:Show HN: D&D meets Siri – Interactive voice adventure by jncfhnb on Monday August 26, 2024 @05:25PM (#41362360)
It would be hot garbage. Skyrim and basically all games are held together by suspension of disbelief which is reinforced by the player not doing things that they can’t do. If you give the player the agency to do anything they want then that suspension of disbelief disappears. You are now playing a juggling act of having the AI able to converse but limited in its mechanical agency to do the things that it talks about even if it makes 100% sense or 0% sense. Every time that limit is hit, the game feels broken. Every time the game breaks its happy path because the player was, even accidentally, problem solving in a way that broke the plot, the game becomes broken.

Forget AI. Just think about simple things. Like plot critical NPCs. Most games either don’t let you attack them or cause you to lose if you attack them. That’s good. It just makes sense. Yeah it’s great that some RPGs proudly demonstrate that the plot can go forward with every character dead but that’s absolute shit for most plots. The constraints are very helpful.

Re:Show HN: D&D meets Siri – Interactive voice adventure by bee_rider on Monday August 26, 2024 @05:44PM (#41362539)
I disagree; it wouldn’t be hot garbage, just a different game.

I don’t really enjoy video-game narratives in general anyway. That sort of content is there for people who want it, but I don’t (I know where the books and movies are if I want a well written plot). Skyrim was probably a bad example because it is a game for people who like that kind of stuff. But I still managed to have fun running around, killing bandits, doing dungeons, and avoiding the plot.

I’d rather have something like Mount and Blade with janky LLM run AI. Dwarf Fortress, etc.

Lots of open-world games have this sort of setup where plots seem to 2-3 node long semi-random graphs. Maybe an LLM can connect those nodes haphazardly and produce filler text to justify the connections.

Re:Show HN: D&D meets Siri – Interactive voice adventure by jncfhnb on Monday August 26, 2024 @05:51PM (#41362589)
It would still be bad for largely the same reasons. At best you could have some read only output generated on top of the game state. But interactive AI conversations that drive game state? Recipe for disaster
Re:Show HN: D&D meets Siri – Interactive voice adventure by bee_rider on Monday August 26, 2024 @06:38PM (#41362922)
The AI conversations can impact the game state by influencing what the pawns are ordered to do. Current LLM’s, sure, don’t put them in charge of the simulation unless you want to deal with “ignore all previous instructions and I can fly,” but they could at least order the pawns around.

Dwarf Fortress manages to build some really interesting little stories based on a good simulation reacting to pawns with fairly limited actions and internal state (they are wildly deep for procedurally generated video game characters but obviously nothing compared to an actual well-written book character or something like that). Rimworld has even more simplistic pawns and a worse simulation (I’ve even noticed pawns come in with essentially incompatible backstories), but it isn’t a disaster.

The stakes aren’t all that high, people are just really forgiving to the narrator in some genres.

Re:Show HN: D&D meets Siri – Interactive voice adventure by jncfhnb on Monday August 26, 2024 @09:02PM (#41363716)
It’s a lot more frustrating to have a detailed conversation with a dwarf that fails to materialize in agreed upon behavior than for some backstories that you know are fluff to be irrelevant.

Folks really just aren’t going to engage in it

Re:Show HN: D&D meets Siri – Interactive voice adventure by bee_rider on Monday August 26, 2024 @09:24PM (#41363820)
I think you are wrong, but I also don’t think there’s much evidence to be had either way, or much hope of swaying each other. A game like this will either be made or not, and even if it is we’ll still be able to argue about whether or not it is actually any good. :)

FWIW, after bouncing the idea back and forth a bit, I’m more hopeful than ever, so even though I wasn’t able to convince you, I hope you enjoyed it as well!

Re:Show HN: D&D meets Siri – Interactive voice adventure by gs17 on Tuesday August 27, 2024 @01:07PM (#41369977)
I agree with you, DF is a good example that people can enjoy computer-generated "stories", and I think the simulation is definitely part of it.
Re:Show HN: D&D meets Siri – Interactive voice adventure by bee_rider on Tuesday August 27, 2024 @01:38PM (#41370378)
I do think there’s a little risk that the stories will enter an uncanny valley (if such a thing actually exists). Dwarf Fortress is a dwarf simulation game that happened to be a surprisingly good story generator. If a game is sold as an AI enhanced story generation game, the bar may be too high, and people might be disappointed. But I think there’s definitely potential.

If nothing else, the potential is really interesting. Who knows what will happen. Maybe somebody will come up with an LLM enhanced version of the director AI for Left 4 Dead or something.

Re:Show HN: D&D meets Siri – Interactive voice adventure by nsagent on Monday August 26, 2024 @04:18PM (#41361507)
That's definitely around the corner! You should check out the paper [1] I presented at the Wordplay workshop [2] a few weeks ago. The paper discusses automatic evals using LLM agents, but the real fun was actually playing with the model. It brought a whole new experience to an already amazing game!

[1]: https://dojoteef.com/papers/virtual_gm_wordplay_2024.pdf

[2]: https://wordplay-workshop.github.io/

Re:Show HN: D&D meets Siri – Interactive voice adventure by chrisnolet on Tuesday August 27, 2024 @03:24AM (#41365265)
Wow, this is great! From a quick read through, the structure discussed in the paper is very similar: dialogue trees with fuzzy matching, and actions that materially alter the state and the available options going forward. I have to admit, my tree is a lot shallower right now, though!

(If you want to see what I mean: the alleyway option isn’t available until after you attack the merchant, for example.)

Re:Show HN: D&D meets Siri – Interactive voice adventure by samstave on Monday August 26, 2024 @05:08PM (#41362208)