Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Autonomous Story Generator  (Read 4849 times)

P-Luke

  • Bay Watcher
    • View Profile
Autonomous Story Generator
« on: April 09, 2016, 02:36:28 am »

Hey Urists,

I've written (a very early version of) a program that uses AI to write stories about dwarves, as part my AI-bachelor graduation project.
It's heavily inspired by Dwarf Fortress, although not nearly as complex.

I'm currently looking for a few more respondents to answer a few questions about the stories it generates. If you could help me out and provide some feedback that will really help me to improve the program!

The stories (and questions) can be found here: http://goo.gl/forms/itlxeX47L1
Note that the generator actually produces some much more interesting stories, but for academic purposes I can't "cherry pick" or fix any of the bugs once I have moved to review phase, so these are actual stories as generated without any human intervention, including typo's and incorrect sentences.

I'd love your help on his!

Cheers,
P-Luke
Logged

P-Luke

  • Bay Watcher
    • View Profile
Re: Autonomous Story Generator
« Reply #1 on: April 09, 2016, 02:39:01 am »

Here's an example of one of the many "bugs" that are still in the generator, but which I actually find pretty hilarious.

Code: [Select]
I now want to get my father Ginin to fall in love with me.
I travelled from my room to my father Ginin's room
There I find my father Ginin.
I start talking to my father Ginin.
Galal: 'Greetings, father Ginin'
Ginin: 'Hello, son Galal'
Ginin: 'What is your favorite food?'
Galal: 'I'm more of a mushroom person. A well baked mushroom with some stonesalt? yes please!'
Ginin: 'Do you think the war with the Goblins will go on much longer?'
Galal: 'I'm not sure you could even call it a war. They're more like bandits or raiders then a proper army.'
Ginin: 'Well, I need to go now. Goodbye.'
Galal: 'Goodbye, Ginin'
I stay silent while I slit my own throat, and collapse.
Logged

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: Autonomous Story Generator
« Reply #2 on: April 09, 2016, 03:35:27 am »

That sounds like a 4chan greentext
Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.

NJW2000

  • Bay Watcher
  • You know me. What do I know?
    • View Profile
Re: Autonomous Story Generator
« Reply #3 on: April 09, 2016, 03:55:40 am »

This looks pretty great.


my hobbies include clearing the tunnels, eating and eating.
This really smacks of DF.
Logged
One wheel short of a wagon

P-Luke

  • Bay Watcher
    • View Profile
Re: Autonomous Story Generator
« Reply #4 on: April 09, 2016, 03:56:15 am »

That sounds like a 4chan greentext

>Fell in love with my dad
>Try setting him up for a "eat my sausage" line
>Says he's vegetarian.
>Try setting him up for a "better have sex with me before I go off to war" line
>Says the war is a joke.
>Fuck this, I'll just kill myself.
Logged

Cryxis, Prince of Doom

  • Bay Watcher
  • Achievment *Fail freshman year uni*
    • View Profile
Re: Autonomous Story Generator
« Reply #5 on: April 09, 2016, 01:17:44 pm »

Ptw
Logged
Fueled by caffeine, nicotine, and a surprisingly low will to live.
Cryxis makes the best typos.

TheBiggerFish

  • Bay Watcher
  • Somewhere around here.
    • View Profile
Re: Autonomous Story Generator
« Reply #6 on: April 10, 2016, 07:22:43 am »

PTW!
Logged
Sigtext

It has been determined that Trump is an average unladen swallow travelling northbound at his maximum sustainable speed of -3 Obama-cubits per second in the middle of a class 3 hurricane.

DoctorMcTaalik

  • Bay Watcher
  • [ENTITY:SKULKING]
    • View Profile
Re: Autonomous Story Generator
« Reply #7 on: April 10, 2016, 10:08:41 am »

Quote
my brother Draleg attacks me.
I now want to end the life of my brother Draleg.
I attack my brother Draleg.
my brother Draleg attacks me.
I swing my weapon at my brother Draleg, who screams until the only thing coming out of him is blood and his heart stops beating.
I no longer want to end the life of my brother Draleg.

Poor guy.

Quote
Rola:  'Next time you leave the city, I will urinate all over room.'
Glurin can't believe that Rola just said that.

Is urinating all over rooms just a thing dwarves will do, or is Rola just an asshole? (That is, did you intentionally add that sentence into the code, or were the individual parts of it generated by the ai?)
Logged

P-Luke

  • Bay Watcher
    • View Profile
Re: Autonomous Story Generator
« Reply #8 on: April 10, 2016, 03:00:36 pm »

Is urinating all over rooms just a thing dwarves will do, or is Rola just an asshole? (That is, did you intentionally add that sentence into the code, or were the individual parts of it generated by the ai?)

Haha, I added a few different "insults" for the dwarves, and gave each a certain rating in terms of "martial", "spiritual", "practical", "corrupt", "silly", etc. I think this particular one was chosen due to low spirituality and high sillyness.
Logged

Antsan

  • Bay Watcher
    • View Profile
Re: Autonomous Story Generator
« Reply #9 on: April 11, 2016, 01:54:20 am »

Wow. These stories are something.

PTW
Logged
Taste my Paci-Fist

Arx

  • Bay Watcher
  • Iron within, iron without.
    • View Profile
    • Art!
Re: Autonomous Story Generator
« Reply #10 on: April 11, 2016, 10:02:21 am »

Quote
soldier Rola Mithrilseen starts talking to me.
Rola: 'Next time you leave the city, I will urinate all over room.'
Glurin can't believe that Rola just said that.
I am now a lord of shadows.
Rola starts talking to me.
Rola: 'You are an insult to your entire family.'
Glurin can't believe that Rola just said that.
I travelled from lady of the axes Bragee Claymead's room to Claymead family hall
There I find Rola.
I travelled from Claymead family hall to Claymead hall entrance
I travelled from Claymead hall entrance to the lava channel
There I find Rola.
I travelled from the lava channel to Mithrilseen hall entrance
I travelled from Mithrilseen hall entrance to Mithrilseen family hall
There I find Rola.

In the grim darkness of the Dwarven Fortress, there is only Rola.

Also, apparently
Rola is just an asshole
Logged

I am on Discord as Arx#2415.
Hail to the mind of man! / Fire in the sky
I've been waiting for you / On this day we die.

Muz

  • Bay Watcher
    • View Profile
Re: Autonomous Story Generator
« Reply #11 on: April 11, 2016, 11:05:04 am »

What I'd suggest is taking some of the details out. I mean like this snippet for example:
Quote
Dureg: 'Farewell.'
I am now a steward.
I now want to get miner Punal Mithrilguard to fall in love with me.
I travelled from my father Drunam's room to my family's family hall
There I find lady of the shadows Noree Mithrilguard.
I travelled from my family's family hall to my family's hall entrance
There I find my sister Pilee.
I travelled from my family's hall entrance to miner Krilee Greybane's room
There I find miner Krilee Greybane and lord of the hammers Polin Greybane and miner Punal Mithrilguard.
I start talking to miner Punal Mithrilguard.
Dureg: 'Mister Punal, may I have a moment of your time?'
Punal: 'You may, speak.'
Punal: 'I could really use some mead, right about now.'
Dureg: 'I'll drink or eat anything I can get my hands on, I'm starving.'
Punal: 'Do you think the war with the Goblins will go on much longer?'
Dureg: 'Although I hate goblins, I would prefer some form of peace with them, if only they could listen to reason.'
I has fallen in love with miner Punal Mithrilguard
Punal: 'Forgive me, Mister Dureg, but I must leave now.'
Dureg: 'Farewell.'

The details about meeting his sister or other non-important plot devices should be removed.
You can also remove some parts of the conversation. I think the questions about the war has potential, but it seems to be hanging here. Questions like "I like mead do you like mead" doesn't add much to the story.
Logged
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

P-Luke

  • Bay Watcher
    • View Profile
Re: Autonomous Story Generator
« Reply #12 on: April 12, 2016, 03:32:52 am »

The details about meeting his sister or other non-important plot devices should be removed.
You can also remove some parts of the conversation. I think the questions about the war has potential, but it seems to be hanging here. Questions like "I like mead do you like mead" doesn't add much to the story.

I agree, but you have to understand that I did not write these stories, my program did. The difficulty is not in generating line of text, the real difficulty is writing a function that decides what (and how) to narrate. Writing such a function is pretty meta, because while I'm programming it I don't actually know anything about the story it's going to generate.
Logged

Gentlefish

  • Bay Watcher
  • [PREFSTRING: balloon-like qualities]
    • View Profile
Re: Autonomous Story Generator
« Reply #13 on: April 12, 2016, 07:52:52 pm »

Wow this is great. Posting to watch.

chesse20

  • Bay Watcher
    • View Profile
Re: Autonomous Story Generator
« Reply #14 on: April 12, 2016, 08:43:06 pm »

lol some dwarf fell in love with two of her sons and then fall in love with another guy
Logged
Pages: [1] 2