Three 1K Story Generators

by Nick Montfort · November 30, 2008, 9:50 am

To follow up on the 1K story generator I posted ten days ago, here is a slightly revised version of that generator and two new ones.

On a Mac or Linux system, you can run one of these, for instance, story2.py, by downloading it to the Desktop, opening a terminal Window, typing “cd Desktop”, and typing “python story2.py”. These run on Windows, too, but you will need to have Python installed, either by having already installed it or by installing it (e.g., version 2.6) yourself

3 Responses to “Three 1K Story Generators”


  1. ElliotM Says:

    These are really neat. While looking at the source code of the first one, I noticed that the sequence has an intentional arrangement to it but I also wondered what you meant by specifically written sentences. Did you have any guidelines you would give to anyone interested in writing their own text for something like this?

  2. Nick Montfort Says:

    Elliot, sure - I just meant that I didn’t simply write a 23-sentence story, but has in mind that each sentence had to be optional. Rather than offering guidelines, I’d suggest that people take a few minutes and try writing a story generator of this sort. (You’re all welcome to post them here, too.) People will probably quickly come up with better methods than I could suggest.

  3. J.R. Carpenter Says:

    Here are Excerpts from the Chronicles of Pookie & JR based on the above story1.py: http://luckysoap.com/lapsuslinguae/2009/06/excerpts-from-chronicles-of-pookie-jr.html

Leave a Reply

Powered by WordPress