News for hackers. Stuff that matters.
Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by TulliusCicero on Monday December 16, 2019 @01:28PM (#21805572)
Super cool game, though admittedly it's less of an actual text-based adventure game, and more like a super advanced chatbot in the guise of a text-based adventure game.
Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by Ajedi32 on Monday December 16, 2019 @01:59PM (#21805917)
I wonder if it might be possible to make it a bit more "game-y" by adding some manually-programmed structural elements to the game (like inventory, skill points, etc) and feeding those into the AI to tune its responses.

Maybe some sort of AI-powered D&D DM; the rules of the game would be hard coded, but the AI would determine how the rules are applied and how they fit into the story based on text input from the players, results of dice rolls, etc. (E.g. If the AI were to end a sentence with "Roll for initiative" then the hard-coded bit of the game would have everyone roll initiative and feed the results back into the AI.)

Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by willismichael on Monday December 16, 2019 @02:12PM (#21806045)
Why would manually-programmed structural elements be necessary? I'm interested to see if the AI can be trained to convince me that I'm actually playing a game.
Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by Ajedi32 on Monday December 16, 2019 @02:22PM (#21806131)
Because GPT-2 in its current form isn't that great at keeping track of facts (like the player's inventory or skill points) over the course of long conversations, or at consistently enforcing rules (as the OP's blog post demonstrates). Allowing a more logically stringent system to handle those parts of the game might produce more realistic results.
Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by TulliusCicero on Monday December 16, 2019 @03:23PM (#21806794)
Because of the lack of manual structural elements, there basically aren't any explicit rules for how the world works. In practice this means that the stories sound more like a fever dream, the AI will let you do almost anything, and story beats are sort of coherent moment to moment but the arc of everything makes no sense.
Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by wokwokwok on Monday December 16, 2019 @07:12PM (#21809090)
It doesn’t have to have structural elements, but it does need a constraints system.

You: I kill all of them and become an immortal god.

Game: No, that doesn’t make sense. You can’t just kill everyone; you can run over and attack them, and see how that goes for you if you like...

Without constraints it’s not a game, it’s just telling yourself a story.

...nothing wrong with that, it’s fun. ...but it’s not a game imo, any more than giving someone a blank piece of paper and a pen is a game.

Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by nkrisc on Monday December 16, 2019 @02:16PM (#21806076)
Agreed, it would be more interesting if it could dynamically construct the rules and paradigms of the game. It would be like playing a new game every time.
Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by phreeza on Monday December 16, 2019 @02:53PM (#21806512)
Maybe something like K-BERT, the idea is simple enough, and can leverage pretrained transformer models.

https://arxiv.org/abs/1909.07606

Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by aidenn0 on Monday December 16, 2019 @03:54PM (#21807081)
I wonder if you could do this just by prepending information about the current state to each submission.

e.g.

Kill troll with sword could be submitted as either "I have a sword, so kill troll with sword" and "I have no sword, so kill troll with sword" That's obviously very hand-wavy but it would allow a more stateless setup.

Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by ganzuul on Monday December 16, 2019 @04:21PM (#21807325)
Someone in the Discord server said they were successful with this approach. - Manually keeping track of the state, basically.
Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by PeterisP on Monday December 16, 2019 @05:00PM (#21807798)
There's published research on chatbots with an approach like this; essentially instead of trying to learn a function from input sentence to output sentence, you do a function from "text about state of world<separator>input sentence or question" to the answer.
Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by blackearl on Monday December 16, 2019 @06:40PM (#21808802)
You can sometimes successfully feed it what you want. Need a dragon? "You find a dragon" will work, just not consistently
Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by aidenn0 on Monday December 16, 2019 @07:07PM (#21809046)
Part of the fun of exploring the old adventure games was trying to do the impossible though. "Kill troll with sword" when you don't have a sword shouldn't say "You slice the troll in half with your sword"
Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by ganzuul on Monday December 16, 2019 @03:49PM (#21807059)
It's an exploration game; the first of its kind.

I have been planning on writing a sci-fi epic for years, as you do. It's very nice to bounce half-baked ideas off the AI just to see how it responds. I would not subject a human to the cruelty of my whims in this way. People largely prefer the safe response of logic and understanding, even when I mischievously have presented them with nothing of the sort. The AI responds with chaos and creativity.

It seems to actually learn and I have taught it about shrink-ray guns, which it seems to make appropriate yet unexpected responses to. At first the shrunk items just disappeared. Then the ray-gun's charge started running out. Later, shrinking the place the ray gun was in caused paradoxes. Eventually the shrink-ray actually made things shrink, but putting my space ship in my pocket transported me across space and time to a desolate, ruined place. I decided this was a poetic way for it to tell me it did not know how to continue.

The AI is a free-form role-playing partner with a delightful lack of tact, but it is not immune to reason. If one can suspend disbelief and fill in the blanks it is even barely intelligent.

Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by p1necone on Monday December 16, 2019 @03:56PM (#21807103)
You say "Exploration game, first of its kind", I say extra flexible text adventure lacking any kind of internal consistency.

Don't get me wrong, it's cool as hell. But it's getting tiring hearing everyone trying to spin obvious flaws as innovation.

Re:Play AI Dungeon 2. Become a Dragon. Eat the Moon by ganzuul on Monday December 16, 2019 @04:05PM (#21807185)
Well technically it's consistent for 8 previous prompts... but that's probably not what you mean.

If you expect this thing to be a MUD or roll-playing game it's not going to meet your expectations. 'Text adventure' perhaps sets the wrong expectation and in that regard I agree with you that it falls short.