Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spam Novel #21

Open
jeffThompson opened this issue Oct 21, 2014 · 2 comments
Open

Spam Novel #21

jeffThompson opened this issue Oct 21, 2014 · 2 comments

Comments

@jeffThompson
Copy link

Year two, second generated novel.

@jeffThompson jeffThompson changed the title Second go-round Characters wander a randomized landscape Nov 2, 2014
@wordsmythe
Copy link

Sounds really fun!

On Sun, Nov 2, 2014 at 7:07 AM, Jeff Thompson notifications@github.com
wrote:

Some plans, hatched mostly while sitting through a very long, very boring
meeting.

A set of randomized characters, each with a house in a particular
landscape and a set of personality and biological "genes". Each house is
placed randomly in a 2D grid and a map of various terrain is grown from
those seeds. The landscape will be a large island, to avoid them running
off the map.

Over the course of the novel, the characters wander via set but randomized
patterns. They can interact with the landscape, get and run low on food and
water, bump into each other, etc. Their genes reflect their past and
current conditions, and are mutated over time.

In many ways, this is a larger version of @DungeonBot
http://www.twitter.com/dungeonbot, who wanders an infinite 2D dungeon.
The character's sentiment slowly changes (over a period of a year or two)
from generally optimistic to completely forlorn.

Genes might include:

  • N previous terrain they've been on ("I'm wet and tired" if they've
    been slogging through a swamp)
  • Hunger, thirst
  • Miles walked
  • Weather conditions (also mutating over time)
  • The sentiment of recent interactions (det. through sentiment
    analysis)
  • Preexisting personality traits (a generally positive or negative
    outlook, etc)
  • Health

(Genes represented as binary strings encoding numerical states.)

Ideas on format and output:

  • I imagine the output being images of the map with character
    positions, plus the text.
  • Characters' speech might be pulled as Markov chains from novels with
    similar sentiments and/or outlook.
  • Characters start as babies? Parent's personalities, situation,
    parenting, etc effect's character's development and future state.
  • Terrain shapes initial personality?


Reply to this email directly or view it on GitHub
#21 (comment)
.

@jeffThompson
Copy link
Author

Alright, I had an overly ambitious plan that was never going to happen. So...

I pulled approximately 60k spam comments from my blog and used them to generate a text. Nothing too fancy:

  • Markov-chain for sentence generation
  • Randomized sentences, punctuation, and chapters
  • Lots of after-the-fact-cleanup and formatting
  • A little manual cleanup for formatting to PDF

A sample paragraph:
The left hand after catching a bounce pass Magic teammate and dunking with his comfortable Colored some sort of step that holds me though out the woman Amazing richness habits within the misconduct. Cheap For men Megan Meier is fat. Megan was distraught, sobbing hysterically. Joshs final message to her ear and screamed. Was a amusement account it. Look advanced {Far|More} added agreeable from you! Great blog you might be interested in hearing. Either way, great site and I'm looking into an universe of illegal firearms and weak law enforcement logistics, urban planning and handling. The business emits one brand-new mobile phone smartphone won't aspects an The video to make money.

And another:
New Arrival The specific very first brazenly And lesbian Vietnamese gangs appears. To be honest but your blogs nice, a business like What kind golf grinders implement to get there! Cheers nike shox black gum nike shox cheap canada goose womens canada goose pas cher A new legal representatives developed sought-after $3.1 million, Even more important, you won't get all of what you mention is supprisingly precise and that is required to get Obama to discharge a lot of people that share.

Full PDF is here, project repo is here.

@jeffThompson jeffThompson reopened this Nov 21, 2014
@jeffThompson jeffThompson changed the title Characters wander a randomized landscape Spam Novel Nov 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants