[racket] universal Pong question

From: Shriram Krishnamurthi (sk at cs.brown.edu)
Date: Sun Jul 25 18:25:44 EDT 2010

Would it help you to have a Battleships in Universe as an example?

On Jul 25, 2010 3:27 PM, "Todd O&apos;Bryan" <toddobryan at gmail.com> wrote:
> In the three-week intro course I'm teaching, the students have
> expressed a desire to program Pong played over the network, so that
> they can play against each other when they get home from camp.
>
> I've never done universe programming before, so I'm not sure what kind
> of messages the worlds should send back and forth.
>
> Obviously, each world needs to report on the position of the paddle
> (left or right) that its player controls, but what about the ball?
> Should I just let the worlds handle that with on-tick, or should I
> check that the ball is in the same spot on both worlds every so often,
> or should I have the universe server control the ball and tell the
> world everything except their own paddle position each time something
> changes?
>
> I think all of these are reasonable choices, but I'm pretty sure some
> will be more or less nice in terms of performance, so I'd like not to
> head down a blind alley.
>
> Todd
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100725/bdfd9738/attachment.html>

Posted on the users mailing list.