Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44294
| Path | csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fabiosantosart@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.071 |
| X-Spam-Evidence | '*H*': 0.86; '*S*': 0.00; 'socket': 0.07; 'http': 0.09; 'run,': 0.09; 'cc:addr:python-list': 0.11; '"real"': 0.16; '24,': 0.16; 'edward': 0.16; 'internally': 0.16; 'multiplayer': 0.16; 'status.': 0.16; 'urllib': 0.16; 'applies': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'wed,': 0.18; 'examples': 0.20; 'work,': 0.20; 'example': 0.22; 'coding': 0.22; 'rules': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'player': 0.26; 'updating': 0.26; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; '(like': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'apparently': 0.31; 'writes:': 0.31; 'probably': 0.32; 'url:python': 0.33; '"the': 0.34; 'something': 0.35; 'more,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'server': 0.38; 'problems': 0.38; 'pm,': 0.38; 'url:mail': 0.40; 'read': 0.60; 'games,': 0.60; 'is.': 0.60; 'truly': 0.60; 'john': 0.61; 'kind': 0.63; 'face': 0.64; 'great': 0.65; 'articles': 0.65; 'series': 0.66; 'connection.': 0.74; 'age': 0.80; 'email addr:panix.com': 0.84; 'to:addr:gordon': 0.84; 'bears': 0.91; 'problems?': 0.91; 'outcome': 0.93; 'connection,': 0.95; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=0AJ87VN8k9bFlLcciQHBwnpdUT5msj3ezn2o2hDEkqU=; b=Cu3gEZovl9h/iD4BTazqD526O04HrhLXcSAn/vE/2garfdKVtoy2sSl0+cK68XDqHm aJQ5PHvGHlAkoefu84GPr1IO4bRhBISINpmObtx0a24/AzHCUhDLmr91IteSlu/B/2ZX AqSZbmHdeJX3/1pSB3dC/6/5jn2HdAuexv3vZwdniYMBDwa6aYoKjNnIvlm/wz/V05hU MMh+LLqkcuNdXO6o5euNsvWuaJXMBVGF0+WZ5Rk/X0kzWROz17ZW+v25v55oGlqnMJph T4t5JAXZSUCU4w7qK3kZ/tX23eB/jU9kUpIswfcHiv4miz0T52yu0xvNS0BiLylZtHeR +Frw== |
| MIME-Version | 1.0 |
| X-Received | by 10.224.221.81 with SMTP id ib17mr32051390qab.62.1366841216207; Wed, 24 Apr 2013 15:06:56 -0700 (PDT) |
| In-Reply-To | <kl9jvn$mfb$1@reader1.panix.com> |
| References | <c6c26882-ec2e-41f9-a4c3-d403976c7729@googlegroups.com> <kl9jvn$mfb$1@reader1.panix.com> |
| Date | Wed, 24 Apr 2013 23:06:56 +0100 |
| Subject | Re: how to: multiplayer game connecting to central server effectively? |
| From | Fábio Santos <fabiosantosart@gmail.com> |
| To | John Gordon <gordon@panix.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1033.1366841219.3114.python-list@python.org> (permalink) |
| Lines | 44 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1366841219 news.xs4all.nl 15960 [2001:888:2000:d::a6]:60220 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:44294 |
Show key headers only | View raw
This series of articles is flash-based, and the examples apparently don't run, but it is a great read on all the problems you face when coding several kinds of multiplayer games, and the variety of things you can do to fix it: http://playerio.com/documentation/tutorials/building-flash-multiplayer-games-tutorial/ Did you know that Age of Empires was actually internally turn-based, in order to avoid syncing problems? On Wed, Apr 24, 2013 at 10:48 PM, John Gordon <gordon@panix.com> wrote: > 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" > > -- > http://mail.python.org/mailman/listinfo/python-list -- Fábio Santos
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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