Lab 10 The Universe

home work!

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.

image

Conduct the lab as a help session. It should consist of two parts:
  • 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

In order for students to get help, they must answers to the following questions:
  1. Which information must reside in/is created in the server?

  2. Which information must reside in/is created in the clients?

  3. Which information must flow from a (player’s) client to the server?

  4. 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?

  5. When does information flow from the server to the clients and vice versa?

  6. What is a good data representation for the information (messages) that flows from clients to server?

  7. What is a good data representation for the information (messages) that flow from the server to the client?

  8. Which events should the server react to? Which events should the client(s) react to? (Other than message exchanges.)

  9. 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?

  10. Which parts of each client’s state of information changes over time and how does it change? What is a good data representation?

Until they have reasonable attempts at answers, they should not receive any help.