Lab 10 The Universe
Purpose The purpose of this lab is to provide assistance with the design of a distributed Hungry Henry game; see Problem Set 12 for details.
a walk-through of the distributed Hungry Henry game set-up from Problem Set 12
one-on-one meetings of the TAs and tutors with the homework pair-ups
Which information must reside in/is created in the server?
Which information must reside in/is created in the clients?
Which information must flow from a (player’s) client to the server?
Which information must flow from the server to a specific player? Which information may not flow from the server to a specific player if we want a fair game?
When does information flow from the server to the clients and vice versa?
What is a good data representation for the information (messages) that flows from clients to server?
What is a good data representation for the information (messages) that flow from the server to the client?
Which events should the server react to? Which events should the client(s) react to? (Other than message exchanges.)
Which parts of the server’s state of information changes over time and needs to be tracked in its state? What is a good data representation?
Which parts of each client’s state of information changes over time and how does it change? What is a good data representation?