Using with non-python client

39 views
Skip to first unread message

BenH

unread,
Aug 17, 2010, 8:51:46 PM8/17/10
to PodSixNet
Hi,

Are there any examples of use PodSixNet with a non-python client?
I'm interested in using Python on the server while talking to web/
mobile clients.
Any urls, hints or tips are gratefully received.

Thanks,

BEN

chrism

unread,
Aug 30, 2010, 8:23:16 AM8/30/10
to pods...@googlegroups.com
Hi Ben,

Apologies for the slow reply.

I don't think there are any examples out there of using PodSixNet with
a non-python client. The way I would do that is to write a thin web
frontend which acts as an intermediary between Javascript on the web
clients, speaking JSON, and PodSixNet on the backend, speaking
rencode.py

Actually you might be better off using something like Django. With that
you can write a script which runs in the background and updates the game
state using Django internal calls (e.g. importing models and
manipulating them directly), and then have clients communicating through
regular Django views, talking JSON. That's probably how I would write a
multiplayer game server for web clients.

Hope this helps!

Chris.

On Tue, 17 Aug 2010 17:51:46 -0700 (PDT), BenH <ben.h...@gmail.com>
wrote:

--
-------------------
http://mccormick.cx

Reply all
Reply to author
Forward
0 new messages