It uses a genetic algorithm to evolve them. The number of likes an ice cream gets on Twitter is used as a score to generate the next one.
See author’s blog for more information.
Latest from the blog
See links to a bot's Botwiki entry when visiting its page on Twitter or botsin.space.