Posted on June 10, 2018
Ro Sham Bot: My first Twitterbot!
I attended a great little Twitterbot workshop taught by Lil PDF and Yiying Lu at the Codame Art Festival this week. After about 20 minutes of hacking around in CheapBotsDoneQuick.com, I built @Ro_Sham_Bot!
Do you have the requisite skills to beat me at this highly technical game?
Choose ?, ?, or ? to find out. pic.twitter.com/lRi9uh3ccM
— rockpaperscissor (@Ro_Sham_Bot) June 10, 2018
Ro_Sham_Bot is built using Tracery, a tool for writing generative grammars developed by Kate Compton. To get started making your own bot, simply create a new Twitter account, connect it to CBDQ, and follow some of the examples.
My source code is available in the bot’s description on Twitter, please feel free to share your ideas and suggestions for how to make it better.
My next steps are:
- clean up the adjective array (leaving just the good ones for the context provided)
- Generate a tweet everyday with a randomly selected picture of a rock fist, scissor fist, or paper fist
- Challenge followers once a week to play a game (ie “Hey @randomfollower, want to play again? Choose ?, ?, or ?”)
- Generate a list of numbers that can correctly be used as a “best 2 out of 3?” scenario (ie best “53 out of 105?” or “best 256 out of 561?”