NaNoGenMo / 2021

National Novel Generation Month, 2021 edition.
45 stars 8 forks source link

Trivia Song Entry for NaNoGenMo 2021 Entry #42

Open dbweissitarch opened 2 years ago

dbweissitarch commented 2 years ago

I am writing a Node.js app that generates a song about Trivia along the lines of the 12 Days of Christmas.

Here is an example of the first few stanzas:

And now the song: The Internet is a magical place in the knowledge space, so what did I learn today? Did you know about Horton Hears a Who!? It turns out that Horton Hears a Who!, by Dr. Seuss, is an allegory for post-World War 2 US occupation of Japan. Seuss, who was vehemently anti-Japanese during the conflict, had a drastic change of heart after visiting postwar Japan. He dedicated the book to a Japanese friend. and if you don't believe me go to: https://en.wikipedia.org/wiki/Horton_Hears_a_Who!

So now I know about: Horton Hears a Who!

The Internet is a magical place in the knowledge space, so what did I learn today? Did you know about $3 bills ? It turns out that The city of Detroit has its own local currency, fully backed by U.S. currency. It's printed in $3 bills and features the Spirit of Detroit over the Detroit Skyline. and if you don't believe me go to: https://en.wikipedia.org/wiki/Detroit_Community_Scrip

So now I know about: Horton Hears a Who! and, $3 bills

The Internet is a magical place in the knowledge space, so what did I learn today? Did you know about Bryan Cranston? It turns out that Bryan Cranston, at the age of 12, encountered a young Charles Manson while riding horses with his teenage cousin. This happened about a year before Manson committed the Tate-LaBianca murders. and if you don't believe me go to: https://en.wikipedia.org/wiki/Bryan_Cranston

So now I know about: Horton Hears a Who! and, $3 bills and, Bryan Cranston

dbweissitarch commented 2 years ago

The code is up with an example in the readme as well as a full run in the repository.

Repo: https://github.com/dbweissitarch/TriviaSong

Output: https://github.com/dbweissitarch/TriviaSong/blob/main/NaNoGenMoTriviaSong.txt

Note: Each run will randomly generate a new song since I do not set a seed.

hugovk commented 2 years ago

Looks good! Do you think you can generate 50k words by the 30th?

dbweissitarch commented 2 years ago

Whoopps, included the wrong result file. The update is in the Repo.