2020 icon indicating copy to clipboard operation
2020 copied to clipboard

Sounds interesting, I'd love to participate

Open RaichuGirl opened this issue 4 years ago • 4 comments

Stumbled upon a link to this on twitter, and it sounds like a fun time. In November it'll time to code a novel! Will my story be grammatically correct? Maybe. Will it be coherent? Not likely! But will it be 50,000 words? Yep!

RaichuGirl avatar Oct 15 '20 05:10 RaichuGirl

Yay!

pjfpotter avatar Oct 22 '20 15:10 pjfpotter

Alright, here is what I've come up with. I only know C programming (well technically matlab too if you want to count it), so I decided to use that for my project. I also don't know how to read stuff in from the internet, so the approach I took was to feed a list of each type of word (verbs, names, adverbs. objects etc) and then use basic sentence structures with a random number generator to choose a word from the respective list.

The first 3 and last 4 sentences are very similar for each, but the middle is completely random. Each story has the same general theme of a kid and their pet searching for answers to save the world. I did this because I was kind of lazy, but also because I felt an animal companion would help with the dialogue, essentially giving the reader a "fill in the blanks" option to translate whatever the animal is saying and make sense of the conversation.

Here are some example outputs of the code: https://docs.google.com/document/d/126gPAZKL1SO-Dj8-K64uipftb0xdmSd6lEyQurlkq6Y/edit?usp=sharing https://docs.google.com/document/d/1dmln6Qg8PR2bB1sYjFJy8Ivf6b_ELMwwFoh3Lm6CZvg/edit?usp=sharing https://docs.google.com/document/d/1NVQSd06cSkJJM3eTf2f2zbz4JXb4YWZCqezTXN10A6U/edit?usp=sharing

Hope you guys like it :)

RaichuGirl avatar Nov 26 '20 08:11 RaichuGirl

Good stuff! Remember to share the code to get the completed label :)

hugovk avatar Nov 26 '20 09:11 hugovk

@RaichuGirl can you post the code somewhere? It'd be great for people to look it over and see how you built this!

greg-kennedy avatar Jun 08 '21 03:06 greg-kennedy