pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
PodSixNet

PodSixNet - 0.42

Chris McCormick (chr15m)

Tags:

Description

PodSixNet is a lightweight network layer designed to make it easy to write multiplayer games in Python. It uses Python's built in asyncore library and rencode.py (or optionally simplejson) to asynchronously serialise network events and arbitrary data structures, and deliver them to your high level classes through simple callback methods. Two example apps are included with the source to help you get started. The first one is a simple console based chat program, and the second is a pygame based collaborative whiteboard. For each example start one copy of the respective server, ChatServer.py or WhiteboardServer.py, and then start multiple copies of the client to test. Mailing list group: http://groups.google.com/group/podsixnet

Changes

Removed the dependency on simplejson. The BSD licensed rencode.py is now used to serialise data but you can optionally use simplejson if you want to interoperate with other languages which support it.

Links

Home Page: http://mccormick.cx/projects/PodSixNet/
Source: http://mccormick.cx/projects/PodSixNet/PodSixNet.tar.gz

Releases

PodSixNet - 0.42 - Apr 23, 2009
PodSixNet - 0.37 - Mar 21, 2009

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

April 23, 2009 7:21pm - Ian Mallett - nickname: (geometrian)
UDP is actually extremely simple once you have TCP implemented--it's just a matter of changing a few things; see my networking library, Mastermind--which also tries to be simple--as an example. I recommend moving the examples into the main directory and the library itself to a new folder, PodSixNet, so that the examples work "right out of the box".
March 22, 2009 6:40am - Chris McCormick - nickname: (chr15m)
Hi Pymike,

It uses TCP as it's not intended to be a low latency networking layer. It's really directed at multiplayer boardgames or strategy games, or maybe even very small MMOs. That said, I've been thinking about ways to incorporate UDP as an option.
March 21, 2009 11:10pm - pymike - nickname: (pymike)
Does this uses UDP or TCP?
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Jul 28, 2014

Jul 22, 2014

Jul 21, 2014

Jul 20, 2014

Jul 19, 2014

Jul 15, 2014

Jul 10, 2014

Jul 9, 2014

Jun 27, 2014



Jun 24, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)