Skip to main content

Neural Networks of Carcosa

Something I did for fun over the weekend:

  • Found a workbook for easily creating a text-generating neural network: https://minimaxir.com/2018/05/text-neural-networks/
  • Took a plaintext dump of the hex contents from LotFP's Carcosa.
  • Massaged the text to make it a little better for neural network processing (make everything lowercase, remove punctuation, remove numbers, etc.)
  • Trained the neural network against the text (ran 50 epochs worth of character-level training)
  • Took the resulting model and generated some sample text using the workbook's default settings of "1 very unexpected token, 1 unexpected token, 2 expected tokens, repeat" to ensure the model doesn't try to exactly replicate the original text.

;tldr

I tried to create an AI that can auto-generated Carcosa-like hex descriptions. The results are... kind of weird. The neural network was being trained letter-by-letter rather than word-by-word, so there's no guarantee it won't invent its own, gibberish words. But the results are interesting in a Jabberwocky, nonsense-that-kind-of-makes-sense way. This is my first pass at this (and my first time doing anything with neural networks), but I think this could be tweaked into something useful as an idea generator.

I'm kind of wondering what would happen if I trained the neural network on Carcosa + Alice in Wonderland + Dracula. Could it generate at least a few useful locations for my A Red & Pleasant Land campaign?

Example generated texts:


  • bleed riames of # and ability scores are halved disgusting bloth source a lawful #th level sorcerer
  • a small society of iron with psionic and molest the vault in hex # but not the secret of what lead to the charm is grass he dosic broken into a score of all surrounded by a mummy the mouth their visitors will be greeted warmly and treated remains of the green ooze pool in the potent pool a carved 
  • spawn of shub niggurath a black ooze with four eyes and a large toothed mouth
  • a small copse of trees concealment in this identical doll opens the nex rued from his hiding placked to the death they god warred head on the cave leads to a sorcerer of #th level or higher
  • village of # black men ruled by the village has a secret and blasphemous name every day as the sun sets a sweet and faintly contagion for # gp worth and empties into the follower of # white men led by a neutral #th level fighter
  • a small copse of trees cearacy rithe that is vast to form entering or fall into a dillion may can be seen from over a mile away # orange banking throw the tentacle successfuland with one eye and a suckered feeding appendage it is completely pettion to invasted a penalty of # to all saving throws a
  • the steady rhythmise with harm so ensproation for parcey for heal at the god of coins gather he will be swarm dolm worm venom and an accurate metal sits astride into lake can be heard often those who fail to save vs poison or lose # die points of shub niggurath its arch is of crumbling soapstone t
  • roll a squat venemers and monsters prowl the lake waiting for prey to approach the edge
  • village of # blue men ruled by the gently after that provides a # boot hour spent thus  everle mound
  • citadel of # black men led by a neutral #th level fighter
  • blue tribesmen from the swamps to the south dig traps in this area to catcheloge insubtermation will be dome to a master armorer and these men wean and a successful hit there are foul and even withd in the caverns beneath their citadel
  • a small hidden camp on hew # deep ones unassurating will release that will become of the icy wastes and saving throw the effects of a logic weapon
  • castle of # yellow men led by a chaotic #th level fighter
  • a small armor cannot be worn all saving throws and to hit rolls incur a penalty of # and ability scores are halved disgusting bloth sound of time the pool will reemerable this land contains no a swarm gray waser becomes it kills and can be mastered in # faster of curious and jugue launching with t
  • in a wooded depreded monthly insane is engraved a lawful #st level fighter several large citadel several yellow mosse a mistonet they energies cannon cave giant the prow of the complex that has been instape
  • the black abomination of nyarlathotep is their abundant with powally looking restraint time to a saving throw vs magic for the gazer success indicates an accurate revelatory that learn to projisitos
  • village of # black men ruled by the worm king a chaotic #th level fighter
  • spawn of shub niggurath a blue scaled anthropoid with one entiment to the swamps and a score of common idol the wearer he can create a still attempts to a dain inaft any disease and they worship the black men or lost since is a mounted on a # this seek he will barter his knowledge in exchange for 
  • an ancient and drip squirm and within are imposition at #
  • a small copse of trees check clees down a city of the great race resulting at the edge of the forest watching in its back
  • spawn of shub niggurath dolm suckered annelidoid with a suckered mouth it is immune to cold
  • citadel of # black men led by a lawful #th level fighter these men tend and worship the ritual they will attack any who bend to the floating broadce to the icy wastes in hex #
  • spawn of shub niggurath a black plant with two weeping eyes and a circular gaping maw they are surprised only on a #
  • half submerged and buried in the poisonous swamps is a prehuman temple of all as the sorcerer orders save anyone this spawn is covered in suckers and eyes with a toothed mouth it is immune to give the villagers in hex # and escort a team of technicians backle is killed upon the poisonous swamps an
  • citadel of # black men led by a neutral #th level fighter
  • castle of # jale men led by a neutral #th level fighter
  • village of # black men ruled by the village of reutred cli be shore to any sorcerous ri e of anyone is a ketth lochs from the roor of the degenerate with a brown headhunter lies in an attack the statue to a great and oozing titail the caverns beneath the earth in a natural cavern of stunds alventl
  • # spawn of shub niggurath red furred batrachian with two eyes and a suckered feeding appendage its touch causes paralysis and it is harmed only by fire any who are paralyzed by this beast appear to be overly powerful will be told of a ruined temple ages a herd of # poisonous charonosaurs grazes by
  • a mutant tear that will become obvious concealed beach the void a year siberoder skin his completely covered with eyes and mouths it can attack the local fishermen
  • a small armor cannot be left to seize to a small bite of the primordial ones in hexes # and #

Comments

  1. I've been working on Hex Describe for a long time, now. It doesn't use an AI but hand-crafted random tables.
    https://campaignwiki.org/hex-describe/describe/random/alpine
    Perhaps you'd be interested in something like that? These days I've been discussing it on Diaspora:
    https://pluspora.com/posts/1224817
    But we could also talk about it on my blog, or via email. Whatever you prefer. :)
    And if you're mostly interested in Carcosa itself, I'm sure we could start working on a Carcosa-like map generator, and description generator.

    ReplyDelete

Post a Comment

Popular posts from this blog

Skull Rabbits and The Pale Lion

A silly kitbash I did ( "What if _______, but skull??" ) that felt afterwords like it needed lore: Skull Rabbits appear much like regular white rabbits -- aside from the antlers and red eyes. They are little threat on their own. They flee quickly at sign of danger like any rabbit would. Even the antlers are about as ineffective as you'd expect on an animal of such small size. But better for you that it should flee than you should approach one quietly or see one accidentally. Lock eyes with one, and it will stare right back. Then the rabbit's head will take the shape of a bare human skull. Your skull. And your thoughts will fill with the fear and certainty that "That is my skull. It shares my skull." The Skull Rabbit will hop away. From that point onwards, you can no longer sleep. Because the Skull Rabbit does not sleep. Whenever the Skull Rabbit feels terror -- at the low level that's constant for rabbits or overwhelming at the sight of predators -- you ...

A Simple Resource Management System for Into the Odd

Rules without the commentary available here . My mind is still on resource management systems.  Into the Odd  ( ItO ) doesn't have one and, to be honest, doesn't need one. Plenty of tension to be found via description rather than tracking individual rations. ItO is lightweight, fast, and runs great if you simply assume that, as written, the expedition always has food, water, light, camping & climbing equipment.  So why bother with managing resources?  Character customization Like with Ben Milton's new Knave  ( http://questingblog.com/knave/ ), I like the idea of a character's role being determined by what kind of equipment they are carrying. Want to be a "fighter" in a classless system like ItO ? Carry large, powerful weapons and wear armor. Want to be a "magic user"? Carry lots of Arcana ( or spellbooks ). A "specialist" (to use the LotFP  term)? Carry lots of tools, poison vials, flashbangs, etc. But customization like th...

Dragon Warrior and How I Discovered Into the Odd

Continuation from Part 1 .  So I already talked about my quest to run dungeons for my players that feel as tense to them as Dragon Warrior 's dungeons did to me. I talked about trying a game, Torchbearer , that had systems built around emphasizing the things I thought that tension was about: the importance of light, limited resources, dwindling life. And about how I eventually found more of my mental energy going to managing those systems than to my campaign. Let's take a detour back to Dragon Warrior / Dragon Quest . More specifically, let's look at combat in Dragon Warrior . It's pretty basic. Only 4 actions to choose from: FIGHT, RUN, SPELL, ITEM. Seemingly worlds apart from the "free to try anything, and your referee will come up with a ruling" land of OSR and other tabletop RPGs. Even by comparison to other JRPGs, it looks like a limited and kind of boring list of choices. Compare it to, say, Final Fantasy 5 , with its huge system of jobs, skill...