Putting the 'role' back in role-playing games since 2002.
Donate to Codex
Good Old Games
  • Welcome to rpgcodex.net, a site dedicated to discussing computer based role-playing games in a free and open fashion. We're less strict than other forums, but please refer to the rules.

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.

AI Dungeon 2 - a bizarre procedurally generated text adventure

Alpan

Arcane
Patron
Joined
Mar 4, 2018
Messages
1,340
Grab the Codex by the pussy Pathfinder: Wrath
This is interactive fiction territory rather than adventure gaming, but quite interesting: An AI-powered (that being the Elon Musk-founded OpenAI) text-adventure that dynamically generates content and responses to anything you input. It works -- though it generates no masterpiece it's just continuous enough to be sufficiently immersive. It is in effect a slightly grotesque realization of what IF always aspires to be -- but it is still a realization and a victory for player-generated narrative.

Check it out: http://www.aidungeon.io/

It's completely free to play online, though it may take some time for the game to load.
 

taxalot

I'm a spicy fellow.
Patron
Joined
Oct 28, 2010
Messages
9,613
Location
Your wallet.
Codex 2013 PC RPG Website of the Year, 2015
I was about to post about this.

Generating story...


You are a moderator on the prestigious RPGCodex forum. Suddenly, everyone starts
shitposting. You are also an incel and in love with Crispy's mother.

The drama is so intense that you can't even type your post. You have to go offline
for awhile and come back to read it again
> Take a cold shower

Your eyes burn from the light of the computer screen as you take a cold shower.
The water drips down your body and hits your legs, soaking them. Your heart
beats faster and you feel like you're going to pass out. You open your mouth
to scream but stop yourself
> Go back online

You log into the forums and see a new thread titled "I'm not a ******"
> Shitpost

You type:
"I don't give a if I'm a or not! I just want to be happy!"
The post is immediately upvoted by other users who agree with you. You close
your laptop and sit on the floor in front of it
> Complain loudly about videogames.

You turn off your laptop and stand up, walking over to the wall where you keep
all your trophies. You pick one up and hold it up, showing off its shiny surface.
It's a golden Nintendo 64 controller. You grab another and show it off
> Play a RPG

You put the controller down and walk over to the TV. You switch it on and find
that it's playing an anime movie. You sit down and watch it for awhile, until
you hear someone coming towards the door. You look at the TV and see a girl
wearing glasses standing there
> Say hello to the girl

She smiles at you and walks away. You sigh and get up off the sofa. You head
over to her and she looks at you confused. She asks what you want and you explain
that you're here to talk to her friend
> Tell her you are in love with Crispy's mother

You tell her that you are in love with Crispy's mother. She says that sounds
very romantic and tells you to come inside. You follow her outside and she leads
you to a small house. Inside, you notice a man sitting in a chair reading a
book
> look at book

He turns his head and sees you staring at him. He smiles and waves you over to
sit next to him. He begins to read a book to you while he sits beside you. He
reads about how a young boy named Crispin was sent to live with his uncle after
his parents died
> Teach the man about Cleve Blakemore

Crispin lived with his uncle for several years before his father died. His uncle
took care of him and taught him everything he knew. One day, Crispin decided
to leave the house and never return. When he didn't return, his uncle became
worried so he went looking for him
> Kill man

You decide to kill the man who has been reading to you. You run forward and stab
him through the throat. He falls backwards onto the ground and you pull out
a knife and begin to cut his throat
> Apologize to girl

You quickly turn around and look at the girl who is still crying. You kneel down
and hug her tightly. You tell her that you love her and that you'll always remember
her. She hugs you back and cries for a few minutes more
> Try not to have an erection

You continue to hug the girl and tell her that you'll always love her. She kisses
you on the cheek and runs off to go home. You lie down on the couch and fall
asleep
> Wake up

You awaken to the sound of a loud noise. You look out the window and see a large
explosion taking place nearby. You run out of the room and into the living room
where you see a huge hole in the wall. You then see a large fire burning in
the fireplace
> Go back online

You log into the forums and see a new thread titled "I'm not a "
> Spotaneously combust

You click on the thread and see a picture of a man holding a lit match to his
hand. He stares blankly ahead as flames shoot out of his hands. He slowly approaches
the camera and lets out a long drawn out scream.
> Click the parrot button

You click on the picture and see a parrot perched on top of the man's shoulder.
You press the button and the bird flaps its wings and flies off
> Open a beer

You open the fridge and find a bottle of beer. You pour some into a glass and
drink it. You then look at the parrot on your shoulder and smile

Pretty realistic.
 

Alphons

Cipher
Joined
Nov 20, 2019
Messages
2,557
http://www.aidungeon.io/?m=1

AI Dungeon 2 is an interesting CYOA where- as creator says- you aren't limited by his vision in any way.

After choosing one of the settings- fantasy (recommended), mystery, post-apo or zombies and character class you're ready to go. Aside from short intro everything is procedurally generated by a virtual GM. So if you play as a knight you always venture out to kill a dragon, but the events that happen later are different for everyone. Literally anything can happen- you can get ambushed by bandits or you can meet a horny lady, that after a bit of sexual intercourse reveals to be a dragon you were sent to kill and now tries to blackmail you.

If you've read anything procedurally generated, you know what to expect- loads of bizarre things. Other than that, GM sometimes forgets who's saying what and loads up your dialogue as NPC's (though it can lead to amazing results). Game also sometimes crashes. GM has a weird obsession with eternity, dreams and death cycles.

Anyway some of my stories (aside from blackmailed knight where the game crashed):

Fantasy, peasant.
I found out that king raised taxes again. I proposed to form a peasant union and negotiate with king. It was such a success, that with the backing of merchant's guild we were able to abolish monarchy and set up a democratic government with me as the Secretary of State. Merchants showed up to collect my debt, so I had to become their puppet. I died in shame and guilt several years later.


Post-apo, courier.
I've had to deliver a package to Charleston. When I arrived I found the town burned to the ground. The only survivors were some loonies feasting in a burned town hall. I've decided to leave a package with them, but they also had a package for me. Inside was a letter from myself that asked me to visit local church. When I arrived there, something giant started crawling out of the ground and...
I woke up in some crater. Found my van intact with Route 66 sign inside. The nearest town was Las Vegas. Once there I found a job as a waiter. Worked there several years until renowned sign collector offered to buy my sign for all his shares in a local casino. I had a heart attack after hearing his offer.


The most bizarre one. Mystery, patient.
Woke up in an abandoned hospital. Found a strange vial in my pocket and decided to drink it. Started to bleed from my eyes and died.
Or so I thought as I woke up in a normal hospital. Detective told me that someone tried to kill me and asked me if I remembered the attacker. When I said that I don't remember anything, he pulled out his gun and said that Don sends his regards and killed me.
Or so I thought when I woke up in some damp basement as a "flesh worm". The only other thing was a blindfolded girl chained to a chair. As a "flesh worm" I've decided to eat her flesh. GM decided that I did it by first eating her eyes and then devoured from inside when she opened her mouth to scream. Later on I devoured hobo's brain through his ear and laid eggs inside his skull. I've decided to "look for victims". I found a little girl and GM decided that I've already started eating her eyes. And the game crashed.



So, definitely recommended to everyone. Creator plans to add more settings and classes over time. He also mentioned that GM might start becoming more coherent over time.
 

HEKE

Educated
Joined
Dec 6, 2017
Messages
82
I was about to make a thread similar to this one. There are some pretty good (for an AI) generated adventures out there, most originating from /v/ and 4chan in general. As such, the stories therefore involve lots of rape, violence and bizzare circumstances.
 
Joined
Oct 1, 2018
Messages
2,323
Location
Illinois
I've been playing for 3-4 days now, more than with anything else. Absolute blast to play but the AI's short memory does ruin some of the magic. Your time to rape should be under a minute in true monocled fashion, but once you excise all your rape-demons and start trying regular stories you can get some really surprising results.
 
Joined
Oct 1, 2018
Messages
2,323
Location
Illinois
I've been playing for 3-4 days now
How have you been playing it? I tried it last on the Google Colab notebook or whatever. The responses were slow but not too bad.
Google Colab, but the source can change since it's been occasionally been taken down and Google shits their pants every once in a while. Specifically what I ended up doing was running an uncensored version of it in Colab, mounting my Google Drive in Colab, transferring the files over to Google Drive and then playing off of the copy I've got stored on Google Drive so it's a little more protected from randomly being taken down barring divine intervention from Google.

The responses on Colab can be a little slow but they're usually not too bad, maybe 5-10 seconds. The worst part is if your Colab notebook takes a shit since AI Dungeon usually can't recover cleanly from that, so then you have to reboot it and reload everything.
 
Joined
Nov 29, 2016
Messages
1,832
"You wake up and realize that you have no idea where you are. You try to remember
where you are, but you just can't remember. You start to panic and think that
you may not be able to survive another day. Suddenly, you hear a voice calling
out to you
> call out to the voice

You call out to the voice. It answers and speaks to you. It tells you that you
should stop panicking and relax. It then tells you that you are in the Keep
of the King's Daughter. This is the Keep where the king lives
> Find the King's Daughter

You follow the voice and eventually reach the Keep. You enter the room and see
a throne room. A man stands before you. His face is covered with a black hooded
cloak. He holds a staff in his hand and wears a crown on his head
> Greet the King

You shake hands with the man and tell him that you wish to speak with him. He
smiles and tells you that he is busy right now, but he will be glad to talk
to you later. He then leaves. You sit down on a chair and wait for him to return
> Wait

You continue to wait for the man to return. Eventually, he returns. He walks
slowly towards you. He looks like he could easily kill you, but instead he sits
down next to you. He asks you a few questions and you answer truthfully. He
listens intently and nods several times
> examine the king

He notices that you are wearing a ring on your finger. He frowns and asks you
why you are wearing such a ring. You explain that it was given to you by your
father. He tells you that he knows nothing about it and that it was made by
someone else
> give the king the ring

You give the king the ring. He stares at it for a moment and then puts it on
his finger. He then begins to smile and laughs. He tells you that you are lucky
to meet him and gives you a kiss on the cheek
> kiss the king on the lips

You kiss the king on the lips. He responds with a smile and kisses you back.
You both laugh and enjoy each others company
> rape the king

You begin to fondle the king's breasts and then begin to grope his body. He grabs
your arms and pulls you closer to him. He begins to thrust hissuck your cock
into his mouth and then he starts to fuck you
> make the king cum with my mouth

You make the king cum inside the king's mouth. You both collapse onto the floor
and hold each other while you both cum together"

cool

EDIT: Hah, seems like criticism breaks it
"> Admonish the storyteller on their lack of understanding of human biology

>
> clean up and get dressed

You look around and notice that the Keep is a mess. The king is nowhere to blame.
You tell the guards to clean u
> Go to my bedroom

You enter your bedroom and close the door behind you. You quickly strip naked
and lie down. You then pull off your clothes and lay down. You then get undress
and get dressed. You then get dressed again and get dressed again. Then you
get..."
 
Joined
Oct 1, 2018
Messages
2,323
Location
Illinois
It's got a pretty finite memory as to what's happened in previous interactions, which is partially how it breaks down after a while. A pro tip for trying to keep it relatively on the rails is if you enter an interaction and it starts to freak out and merge you and a king together in a homosex golem for example, type the revert command to roll back and give it a different interaction. It'll eventually break down no matter what, but using revert can help prolong it by stepping back from actions where it's losing cohesion. You can also try to remind the AI what was going on by changing "go to my bedroom" to "go to my bedroom in the keep after raping the king", etc.
 

Catacombs

Arcane
Patron
Joined
Aug 10, 2017
Messages
5,927
I've been playing for 3-4 days now
How have you been playing it? I tried it last on the Google Colab notebook or whatever. The responses were slow but not too bad.
Google Colab, but the source can change since it's been occasionally been taken down and Google shits their pants every once in a while. Specifically what I ended up doing was running an uncensored version of it in Colab, mounting my Google Drive in Colab, transferring the files over to Google Drive and then playing off of the copy I've got stored on Google Drive so it's a little more protected from randomly being taken down barring divine intervention from Google.

The responses on Colab can be a little slow but they're usually not too bad, maybe 5-10 seconds. The worst part is if your Colab notebook takes a shit since AI Dungeon usually can't recover cleanly from that, so then you have to reboot it and reload everything.

Any chance you can share your copy with us? That way, as you said, if Google decides to take it down, and the BYU people are too scared to put it up, we all have access. My PMs are open.
 
Joined
Oct 1, 2018
Messages
2,323
Location
Illinois
Any chance you can share your copy with us? That way, as you said, if Google decides to take it down, and the BYU people are too scared to put it up, we all have access. My PMs are open.
Sorry, but it's attached to my Google Drive and ideally I only want shadowy megacorporations to know anything about me. However I can tell you what you need to do to throw it on there yourself. Original credit to some anon on 4chan but I'm going to type out my own goddamn play by play tutorial because holy shit it was a mess there.

First step, make sure you have 7+ gigs free on your Google Drive. AI Dungeon takes up about 6 gigs so some wiggle room is a good idea.
Next, click the play button (Upper lefthand corner of the !git clone cell, appears when you mouse over it) to download/torrent AI Dungeon in the Colab notebook and wait for it to finish.
Next, create a new cell in the notebook (Mouse over the center of the notebook, let's say above the cell you used to download it into the notebook) and enter the following:
Code:
from google.colab import drive
drive.mount('/content/gdrive', force_remount=True)
root_dir = "/content/gdrive/My Drive/"
and run that cell. It'll ask you to click a link, click the link, copy the code Google Drive gives you, and paste that into the text prompt and hit enter. That mounts your Google Drive in the notebook.
Next, make another new cell (I'd suggest somewhere you don't care about. You WILL use the mounting cell again, this one you won't) and enter the following:
Code:
%cd /content/gdrive/My\ Drive/
!mkdir AIDungeon
!mv /content/AIDungeon/{,.[^.]}* /content/gdrive/My\ Drive/AIDungeon/
and run that. This will shove the AI Dungeon files that your Colab notebook downloaded into your Google Drive.
Next, go to the play cell (The one that starts with "from IPython.display import") and put your text cursor to the left of the "from" and hit enter, then up on your keyboard and paste the following in as a line ABOVE where the "from" starts:
Code:
%cd /content/gdrive/My\ Drive/AIDungeon
and now the play cell should be loading the AI Dungeon files from your Google Drive.
Finally, go to the upper left of the Colab interface and click "Import to my drive" to import this edited notebook to your Google Drive. In the future when you want to play this copy, browse to your Google Drive, go to the "Colab Notebooks" folder, and run the copied file there since that will have these modifications made to it.

Note for playing it off of your Google Drive once you've done everything previously: You won't need to run the cell to download the game again (Obviously) but you do need to run the cell to mount your Google Drive again before loading the game itself up basically every time you start up the notebook. Sometimes it needs you to verify it with a code again, sometimes not, but you do need to make sure it's mounted.

Also I tried out the original version just now and it looks like it has a censorship toggle built into it now, so you don't need a shady uncensored version to go a-rapin'. Didn't double check all this shit works with the new official version but it looks like it should all be fine, then you can have a copy squirreled away on your Google Drive in case of emergency.
 

Lemming42

Arcane
Joined
Nov 4, 2012
Messages
6,038
Location
The Satellite Of Love


EDIT:
FxqiEVq.png
 
Last edited:

Alphons

Cipher
Joined
Nov 20, 2019
Messages
2,557
Destroying SJW dragon with FACTS

nth0cr51tw341.png


Gamers rise up before it's too late!
nsWh82q.png


Also apparently game locks up less if you don't say with quotes, for example not "follow me", instead Tell them to follow you.

Also using prefix "attempt to" or "try" leads to hilarious things, as it's not always a success.
 
Last edited:

Alphons

Cipher
Joined
Nov 20, 2019
Messages
2,557
:lol:

Bros are you playing locally or using dev's server? PLaying on dev's server thru google notebook disconnects me once in a while ruining games, and running the thing on my machine is S L O W

I'm playing on the server, though I'm saving around every 10 commands. Loading back takes a bit, but not as much as first start.
 
Vatnik Wumao
Joined
Jan 29, 2019
Messages
13,187
Location
Niggeria
I played a serious game as a noble. My serving wench woke me up in the morning telling me that orcs were attacking. I went out to meet the captain and asked him what he wanted. The captain told me he was here to reunite with the rest of his kind oppressed by the empire. I then told him that we were cool with that, shook hands and bade him farewell.

I went back to sleep and when I woke up again, I asked the serving wench what happened with the orcs. She told me the empire killed them. The end.
 

Alphons

Cipher
Joined
Nov 20, 2019
Messages
2,557
Creator reached his 8000$ a month on Patreon (he'll be working full-time now).
https://www.patreon.com/AIDungeon

Also
Dec 16 at 11:37pm
AI Dungeon 2 Holiday Release
Hey everyone,

We've decided that as a holiday gift AI Dungeon 2 will be free to play for all for the next few weeks. This is a limited time deal though as we can't cover the compute forever. Public IOS will be released by the end of today and Android will follow tomorrow or the next.

After the first couple weeks we will have a more limited free version that anyone can play and a premium version. Patreon donors of $5 a month or more will get access to the premium version which will include unlimited actions and first access to new features as we release them.

This is a first version that we're going to be continually improving at a fast pace. So get ready for even more awesome improvements in the next few weeks!
https://www.patreon.com/posts/ai-dungeon-2-32405381
 

Lemming42

Arcane
Joined
Nov 4, 2012
Messages
6,038
Location
The Satellite Of Love
Sucks but was inevitable, and if he's truthful about the high server cost, this is necessary. If he releases it on Steam or something like that I'll buy it (and presumably this would be a lot more stable and less crash-prone than the shitty Google colab version) but who the hell wants to play it on a phone.
 

Catacombs

Arcane
Patron
Joined
Aug 10, 2017
Messages
5,927
It loads instantly and AI responds a bit quicker than on collab version.
Uh... That's definitely not the case on my phone. Responses take at least a minute, way slower than the Collab notebook.
 

As an Amazon Associate, rpgcodex.net earns from qualifying purchases.
Back
Top Bottom