You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My NaNoGenMo project will accept a .txt source file and use it to build an interactive novel in ChoiceScript. It extracts a vocabulary from the source, determines parts of speech by comparing against a dictionary, and then uses grammar-based Markov chains to write prose sequences.
It also attempts to recognize and extract characters (along with their pronouns of choice) from the original source, which will be repurposed as "relationship" characters in the game. It also randomly generates various stats based on adjectives used in the work.
I'm building this in C#, but I may pull in Unity at the end in order to make a web-based version.
The text was updated successfully, but these errors were encountered:
This C# system accepts a chunk of source text, digests it, and spits out the files to build a working ChoiceScript interactive novel. The text is poetic at best, but it does at least bear some resemblance to the original. Characters do extract (sort of) and turn into statted relationships, but pronouns aren't recognized or used.
The chapters are extremely shallow due to a bug that hasn't been adequately squashed. This system hypothetically can build a 50k novel, but it would take about 50 shallow chapters to do so. That seemed unnecessary, so I didn't.
To build a ChoiceScript game with this system:
Find some good source text. Save it in the same folder as NaNoGenMo.exe as "sample.txt".
My NaNoGenMo project will accept a .txt source file and use it to build an interactive novel in ChoiceScript. It extracts a vocabulary from the source, determines parts of speech by comparing against a dictionary, and then uses grammar-based Markov chains to write prose sequences.
It also attempts to recognize and extract characters (along with their pronouns of choice) from the original source, which will be repurposed as "relationship" characters in the game. It also randomly generates various stats based on adjectives used in the work.
I'm building this in C#, but I may pull in Unity at the end in order to make a web-based version.
The text was updated successfully, but these errors were encountered: