Cardpack IRC Bot

The CardPack IRC Bot is a virtual deck of cards, written in python using the Twisted Python libraries, that is controlled by a single user, who is allocated to be the dealer.

Background

I chat with a lot of people over IRC, and we wanted to play a card game. None of us could think of a way of figuring out how to do it with several real sets of cards in front of each of us, so I decided to write a virtual deck of cards for us to play with.

Method

I originally started writing this bot in Java using the PircBot IRC API, but gave up because it was running too slowly on my webserver Fry. I rewrote the code practically line-for-line into Python, and it was suddenly zoomy again, if terrible Python at that! It's been properly rewritten for Python now anyway, I beleive.

Solution

Click here to see the command summary for CardPack. The source code will be uploaded shortly when I'm happier with it, and will be released under the GNU GPL.


Last Modified: Tuesday, 06-Jun-2006 22:20:42 BST