8
Oct
Python Chat (and Game) Client 1.1
A couple of weeks gone by since I last worked on my game and chat client in python (read the post on version 1.0 here). The reason it took so long to get back to work was because I needed some new insight into the Twisted framework that I'm using. My problem eventually was like this: if someone had clicked the send button to send out a message, how would Twisted (the framework which manages the connection) find out about that? The answer was pretty simple in the end, but I will blog about the specifics later (I'm thinking of doing a Twisted + GTK tutorial) because I feel this part hasn't been documented too well and I think that's a shame because Twisted, Python and PyGTK (or PyGame) have a great potential.

I won't bother going on about that (for now) but I will just say that with version 1.1 the client has finally gained some usability. It can connect to a server with a chosen alias, it lets you send and receive messages and it's perfect for LAN parties and the like, although you could off course use it over the internet to have a 'private' channel in which you can chat with your friends.

I hope I can find the time and inspiration to come up with a couple of new versions this month so that not only will you be able to chat, you will also be able to play some games.

See the client here: game and chat client coding page



No Comments

Be the first to leave a comment for this article ;)


Leave a comment
Name*
E-mail
Website
Title*
Comment*
Notify me when somebody else comments on this article