[Tutor] how to build a multiplayer game?
Chris Fuller
cfuller084 at thinkingplanet.net
Wed Apr 11 17:34:47 CEST 2012
I think you're on the right track with the IRC idea, but start with something
simpler. You can find tutorials or working programs using the asynchat module
to make a really basic chat client. Then you build a higher level protocol on
top of that. It should take care of most of the low level networking for you.
But when you're ready for that, look up nonblocking I/O and the select()
system call.
http://pypi.python.org/
http://code.activestate.com/recipes/langs/python/
http://docs.python.org/howto/sockets.html#non-blocking-sockets
Cheers
More information about the Tutor
mailing list