NaNoGenMo / 2019

National Novel Generation Month, 2019 edition.
97 stars 5 forks source link

Bitscreech, a #NNNGM #140

Open maetl opened 4 years ago

maetl commented 4 years ago

Following from my work on #128, here’s a second entry. This one follows the #NNNGM format, using the same lookup tables for vowels and consonants to generate a stream of random words, formatted into semi-rhythmic sentences and paragraph breaks.

The only substantive modification was changing the ch digraph to x which meant I could drop a few extra characters by using String#upcase in place of String#capitalize. This extra space was needed in order to fold in the sentence and paragraph formatting.

Details