Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44293

Re: how to: multiplayer game connecting to central server effectively?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!panix!gordon
From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: how to: multiplayer game connecting to central server effectively?
Date Wed, 24 Apr 2013 21:48:39 +0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Lines 20
Message-ID <kl9jvn$mfb$1@reader1.panix.com> (permalink)
References <c6c26882-ec2e-41f9-a4c3-d403976c7729@googlegroups.com>
NNTP-Posting-Host panix1.panix.com
X-Trace reader1.panix.com 1366840119 23019 166.84.1.1 (24 Apr 2013 21:48:39 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Wed, 24 Apr 2013 21:48:39 +0000 (UTC)
User-Agent nn/6.7.3
Xref csiph.com comp.lang.python:44293

Show key headers only | View raw


In <c6c26882-ec2e-41f9-a4c3-d403976c7729@googlegroups.com> webmaster@terradon.nl writes:

> i have tried and accompished an urllib connection, with get and post
> variabels, but that will be polling, with all the http-overhead for every
> poll. I think this is also to slow and no "real" updating of the game status.

Http can still work, depending on what kind of game it is.  For example
a game where only the current player can make decisions and the other
players just sit and watch (like Risk), or a game where each player submits
a move and the server applies the game rules to resolve the outcome (like
Rock-Scissors-Paper).

But a truly interactive game would probably require something more, like
an active socket connection.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

how to: multiplayer game connecting to central server effectively? webmaster@terradon.nl - 2013-04-24 13:59 -0700
  Re: how to: multiplayer game connecting to central server effectively? John Gordon <gordon@panix.com> - 2013-04-24 21:48 +0000
    Re: how to: multiplayer game connecting to central server effectively? Fábio Santos <fabiosantosart@gmail.com> - 2013-04-24 23:06 +0100
  Re: how to: multiplayer game connecting to central server effectively? Chris Angelico <rosuav@gmail.com> - 2013-04-25 12:55 +1000
    Re: how to: multiplayer game connecting to central server effectively? webmaster@terradon.nl - 2013-04-24 23:02 -0700

csiph-web