2021 icon indicating copy to clipboard operation
2021 copied to clipboard

Flaubertbot

Open fbrzvnrnd2 opened this issue 4 years ago • 1 comments

I wrote this simple Flaubertbot in python. I used some phrases taken from Flaubert's Madame Bovary, in italian translation: i) things Emma Bovary thinks about her man (an hyper-Leon) ii) things Emma Bovary does to her man iii) things Emma Bovary says to her man

And vice versa:

i) things Leon thinks about Emma ii) things Leon does to Emma iii) things Leon says to Emma

The different sentences are divided by mood: hate, love, indifference. I used the perlin noise 1d to move the mood from hate, love and indifference. When Leon and Emma pass from one feeling to another, a chapter ends and a new chapter begins.

Some chapters are forced to be only dialogues, some chapters only actions, some chapters only reflections. Other chapters are mixed.

You can find here the code and an example of output: https://github.com/fbrzvnrnd2/nanogenmo2021

I wrote the code while the idea was growing, so it is a very bad code. A lot of duplication.

fbrzvnrnd2 avatar Nov 29 '21 21:11 fbrzvnrnd2

Good job! No-one's judging code quality here and we certainly don't mind a bit of code duplication :)

hugovk avatar Nov 29 '21 22:11 hugovk