On Fri, Sep 30, 2011 at 11:44:27AM -0400, Matthew Gardner wrote:
> 
> How does the server notify players
> when it is their turn, with the updated state?

I think in these cases that people usually write Javascript code on the
client that performs a request and waits for a response.  The server
waits to respond to the request until the appropriate condition is met.
This may increase the load on the server because it has to keep
connections open even when nothing is happening, but I don't think
there's really any other way to do it (other than polling which is
arguably worse).

--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to