Well for the last few evenings I have been working on this little proof of concept. One of my work colleague Ade (@6t8) came up with the idea "someone should make a game that you can play over twitter". Well after abit of excitement and talk I decided to have a go at coding this idea. Once I had started I realised that it could be possible to do alot more with this, so I decided to make the project a little more generic and turn it into a pluggable bot for automating twitter.
After a few evenings work however I decided that this project was going to take up a bit too much of my time, especially when I had so much other work to do. So I have decided to release what I have done and let other take it and develop it if they wish.
You login using a twitter account:
Hangman was the primary idea for this project and is implemented as a simple plugin that consists of 3 simple commands:
I have built a simple polling timer for checking new messages from Twitter:
The interface uses docking panels provided by the .NET DockPanel Suite. Docking is demonstrated below with the log window:
The next shot shows me sending a direct message to the "twittgames" account from my "mikeysee" account:
After refreshing, the Hangman plugin then shows the active game states:
Then you play the game by making guesses:
A
And the plugin responds to your guesses:
It is far from complete but as a proof of concept I think it demonstrates the idea. There are many things that could be improved and/or worked upon, such as:
You can grab the binary for this here: TwitterBot.zip
Source code is available on request. Email: mike.cann@gmail.com