What's the current state of the art in this kind of software and what is it called, anyway? I assume it should be natural language synthesis or story generation?
This online encyclopedia entry has a decent short overview of some of the story-generation systems that have been built over the years: http://wikis.sub.uni-hamburg.de/lhn/index.php/Story_Generato...
https://github.com/dariusk/NaNoGenMo-2014 https://github.com/dariusk/NaNoGenMo