Quote Originally Posted by jdragyn View Post
Not necessarily. It is possible that the order of execution could end up printing

It does appear that you've not shown us everything about the assignment; in particular, 1.1 is missing, 4.1 and 4.2 are missing, 5.1 is missing... Based on what you DID post however:
You are right. Those are unimportant information such as compiling issues, non-functional requirements etc.

Quote Originally Posted by jdragyn View Post
You only need to worry about a single player with your program. Several instances of your program will be running, one per player and presumably each on a separate computer. The Game Server (which you are not writing) will accept the connections for each player and then "focus its attention" on one player at a time in a round-robin manner. If you pretend that all the other players are connecting with some other client (which may actually be what happens when the instructor tests the programs), then you only worry about when the Game Server focuses attention on YOUR client.
That's what I was thinking from day 1 I received this work. So, I will just put things (sending and receiving) in the while loop? will it automatically process something (from any of the if-statements) once it sends/receives anything?

Oh man, I think I want to have this done now. Thanks for the encouragement.